home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c065 / 1.ddi / INCLUDE.ZIP / _SCANF.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-07  |  2.3 KB  |  74 lines

  1. /*------------------------------------------------------------------------
  2.  * filename - _scanf.h
  3.  *
  4.  *-----------------------------------------------------------------------*/
  5.  
  6. /*[]------------------------------------------------------------[]*/
  7. /*|                                                              |*/
  8. /*|     Turbo C Run Time Library - Version 3.0                   |*/
  9. /*|                                                              |*/
  10. /*|                                                              |*/
  11. /*|     Copyright (c) 1987, 1990 by Borland International        |*/
  12. /*|     All Rights Reserved.                                     |*/
  13. /*|                                                              |*/
  14. /*[]------------------------------------------------------------[]*/
  15.  
  16. #ifndef __SCANF_H
  17. #define __SCANF_H
  18.  
  19. #if !defined(__STDARG_H)
  20. #include <stdarg.h>
  21. #endif
  22.  
  23. typedef enum
  24. {
  25.     isSuppressed = 1,
  26.     isHalf       = 2,
  27.     isLong       = 4,
  28.     isLongDouble = 8,
  29.     isExclusive  = 16,
  30.     isFarPtr     = 32
  31. } flagBits;
  32.  
  33.  
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif
  37. int near _scanner( int   near (*__Get)   (void *__srceP),
  38.                    void  near (*__UnGet) (int __ch, void *__srceP),
  39.                    void       *__srceP,
  40.                    const char *__formP,
  41.                    va_list     __varPP );
  42.  
  43. long double near _scantod( int  near (*__Get)   (void *__srceP),
  44.                         void near (*__UnGet) (int __ch, void *__srceP),
  45.                         const void *__srceP,
  46.                         int         __width,
  47.                         int        *__countP,
  48.                         int        *__statusP );
  49.  
  50. long near _scantol( int   near  (*__Get)   (void *__srceP),
  51.                     void  near  (*__UnGet) (int __ch, void *__srceP),
  52.                     const void   *__srceP,
  53.                     int           __radix,
  54.                     int           __width,
  55.                     int         *__countP,
  56.                     int         *__statusP );
  57.  
  58. void near _scanpop (void);
  59.  
  60. void near _scanrslt (void *__rsltP, int __rsltType);
  61.  
  62. /*
  63.   Internal RTL function to perform double/float truncations.
  64. */
  65. #define    FLT    0
  66. #define    DBL    1
  67. double near pascal __ldtrunc(int __flag, long double __x, double __xhuge);
  68.  
  69. #ifdef __cplusplus
  70. }
  71. #endif
  72.  
  73. #endif
  74.