home *** CD-ROM | disk | FTP | other *** search
/ Beginning C++ Through Gam…rogramming (2nd Edition) / BCGP2E.ISO / bloodshed / devcpp-4.9.9.2_setup.exe / stdlib.h < prev    next >
C/C++ Source or Header  |  2005-01-29  |  15KB  |  515 lines

  1. /*
  2.  * stdlib.h
  3.  * This file has no copyright assigned and is placed in the Public Domain.
  4.  * This file is a part of the mingw-runtime package.
  5.  * No warranty is given; refer to the file DISCLAIMER within the package.
  6.  *
  7.  * Definitions for common types, variables, and functions.
  8.  *
  9.  */
  10.  
  11. #ifndef _STDLIB_H_
  12. #define _STDLIB_H_
  13.  
  14. /* All the headers include this file. */
  15. #include <_mingw.h>
  16.  
  17.  
  18. #define __need_size_t
  19. #define __need_wchar_t
  20. #define __need_NULL
  21. #ifndef RC_INVOKED
  22. #include <stddef.h>
  23. #endif /* RC_INVOKED */
  24.  
  25. /*
  26.  * RAND_MAX is the maximum value that may be returned by rand.
  27.  * The minimum is zero.
  28.  */
  29. #define    RAND_MAX    0x7FFF
  30.  
  31. /*
  32.  * These values may be used as exit status codes.
  33.  */
  34. #define    EXIT_SUCCESS    0
  35. #define    EXIT_FAILURE    1
  36.  
  37. /*
  38.  * Definitions for path name functions.
  39.  * NOTE: All of these values have simply been chosen to be conservatively high.
  40.  *       Remember that with long file names we can no longer depend on
  41.  *       extensions being short.
  42.  */
  43. #ifndef __STRICT_ANSI__
  44.  
  45. #ifndef MAX_PATH
  46. #define    MAX_PATH    (260)
  47. #endif
  48.  
  49. #define    _MAX_PATH    MAX_PATH
  50. #define    _MAX_DRIVE    (3)
  51. #define    _MAX_DIR    256
  52. #define    _MAX_FNAME    256
  53. #define    _MAX_EXT    256
  54.  
  55. #endif    /* Not __STRICT_ANSI__ */
  56.  
  57.  
  58. #ifndef RC_INVOKED
  59.  
  60. #ifdef __cplusplus
  61. extern "C" {
  62. #endif
  63.  
  64. #if !defined (__STRICT_ANSI__)
  65.  
  66. /*
  67.  * This seems like a convenient place to declare these variables, which
  68.  * give programs using WinMain (or main for that matter) access to main-ish
  69.  * argc and argv. environ is a pointer to a table of environment variables.
  70.  * NOTE: Strings in _argv and environ are ANSI strings.
  71.  */
  72. extern int    _argc;
  73. extern char**    _argv;
  74.  
  75. /* imports from runtime dll of the above variables */
  76. #ifdef __MSVCRT__
  77.  
  78. extern int*  __cdecl   __p___argc(void);
  79. extern char*** __cdecl  __p___argv(void);
  80. extern wchar_t***  __cdecl __p___wargv(void);
  81.  
  82. #define __argc (*__p___argc())
  83. #define __argv (*__p___argv())
  84. #define __wargv (*__p___wargv())
  85.  
  86. #else /* !MSVCRT */
  87.  
  88. #ifndef __DECLSPEC_SUPPORTED
  89.  
  90. extern int*    _imp____argc_dll;
  91. extern char***  _imp____argv_dll;
  92. #define __argc (*_imp____argc_dll)
  93. #define __argv (*_imp____argv_dll)
  94.  
  95. #else /* __DECLSPEC_SUPPORTED */
  96.  
  97. __MINGW_IMPORT int    __argc_dll;
  98. __MINGW_IMPORT char**  __argv_dll;
  99. #define __argc __argc_dll
  100. #define __argv __argv_dll
  101.  
  102. #endif /* __DECLSPEC_SUPPORTED */
  103.  
  104. #endif /* __MSVCRT */
  105. #endif /* __STRICT_ANSI__ */
  106. /*
  107.  * Also defined in ctype.h.
  108.  */
  109. #ifndef MB_CUR_MAX
  110. #ifdef __DECLSPEC_SUPPORTED
  111. # ifdef __MSVCRT__
  112. #  define MB_CUR_MAX __mb_cur_max
  113.    __MINGW_IMPORT int __mb_cur_max;
  114. # else        /* not __MSVCRT */
  115. #  define MB_CUR_MAX __mb_cur_max_dll
  116.    __MINGW_IMPORT int __mb_cur_max_dll;
  117. # endif        /* not __MSVCRT */
  118.  
  119. #else        /* ! __DECLSPEC_SUPPORTED */
  120. # ifdef __MSVCRT__
  121.    extern int* _imp____mbcur_max;
  122. #  define MB_CUR_MAX (*_imp____mb_cur_max)
  123. # else        /* not __MSVCRT */
  124.    extern int*  _imp____mbcur_max_dll;
  125. #  define MB_CUR_MAX (*_imp____mb_cur_max_dll)
  126. # endif     /* not __MSVCRT */
  127. #endif      /*  __DECLSPEC_SUPPORTED */
  128. #endif  /* MB_CUR_MAX */
  129.  
  130. /* 
  131.  * MS likes to declare errno in stdlib.h as well. 
  132.  */
  133.  
  134. #ifdef _UWIN
  135. #undef errno
  136. extern int errno;
  137. #else
  138.  _CRTIMP int* __cdecl    _errno(void);
  139. #define    errno        (*_errno())
  140. #endif
  141.  _CRTIMP int* __cdecl    __doserrno(void);
  142. #define    _doserrno    (*__doserrno())
  143.  
  144. #if !defined (__STRICT_ANSI__)
  145. /*
  146.  * Use environ from the DLL, not as a global. 
  147.  */
  148.  
  149. #ifdef __MSVCRT__
  150.   extern _CRTIMP char *** __cdecl __p__environ(void);
  151.   extern _CRTIMP wchar_t *** __cdecl  __p__wenviron(void);
  152. # define _environ (*__p__environ())
  153. # define _wenviron (*__p__wenviron())
  154. #else /* ! __MSVCRT__ */
  155. # ifndef __DECLSPEC_SUPPORTED
  156.     extern char *** _imp___environ_dll;
  157. #   define _environ (*_imp___environ_dll)
  158. # else /* __DECLSPEC_SUPPORTED */
  159.     __MINGW_IMPORT char ** _environ_dll;
  160. #   define _environ _environ_dll
  161. # endif /* __DECLSPEC_SUPPORTED */
  162. #endif /* ! __MSVCRT__ */
  163.  
  164. #define environ _environ
  165.  
  166. #ifdef    __MSVCRT__
  167. /* One of the MSVCRTxx libraries */
  168.  
  169. #ifndef __DECLSPEC_SUPPORTED
  170.   extern int*    _imp___sys_nerr;
  171. # define    sys_nerr    (*_imp___sys_nerr)
  172. #else /* __DECLSPEC_SUPPORTED */
  173.   __MINGW_IMPORT int    _sys_nerr;
  174. # ifndef _UWIN
  175. #   define    sys_nerr    _sys_nerr
  176. # endif /* _UWIN */
  177. #endif /* __DECLSPEC_SUPPORTED */
  178.  
  179. #else /* ! __MSVCRT__ */
  180.  
  181. /* CRTDLL run time library */
  182.  
  183. #ifndef __DECLSPEC_SUPPORTED
  184.   extern int*    _imp___sys_nerr_dll;
  185. # define sys_nerr    (*_imp___sys_nerr_dll)
  186. #else /* __DECLSPEC_SUPPORTED */
  187.   __MINGW_IMPORT int    _sys_nerr_dll;
  188. # define sys_nerr    _sys_nerr_dll
  189. #endif /* __DECLSPEC_SUPPORTED */
  190.  
  191. #endif /* ! __MSVCRT__ */
  192.  
  193. #ifndef __DECLSPEC_SUPPORTED
  194. extern char***    _imp__sys_errlist;
  195. #define    sys_errlist    (*_imp___sys_errlist)
  196. #else /* __DECLSPEC_SUPPORTED */
  197. __MINGW_IMPORT char*    _sys_errlist[];
  198. #ifndef _UWIN
  199. #define    sys_errlist    _sys_errlist
  200. #endif /* _UWIN */
  201. #endif /* __DECLSPEC_SUPPORTED */
  202.  
  203. /*
  204.  * OS version and such constants.
  205.  */
  206.  
  207. #ifdef    __MSVCRT__
  208. /* msvcrtxx.dll */
  209.  
  210. extern _CRTIMP unsigned __cdecl int*    __p__osver(void);
  211. extern _CRTIMP unsigned __cdecl int*    __p__winver(void);
  212. extern _CRTIMP unsigned __cdecl int*    __p__winmajor(void);
  213. extern _CRTIMP unsigned __cdecl int*    __p__winminor(void);
  214.  
  215. #ifndef __DECLSPEC_SUPPORTED
  216. # define _osver        (*__p__osver())
  217. # define _winver    (*__p__winver())
  218. # define _winmajor    (*__p__winmajor())
  219. # define _winminor    (*__p__winminor())
  220. #else
  221. __MINGW_IMPORT unsigned int _osver;
  222. __MINGW_IMPORT unsigned int _winver;
  223. __MINGW_IMPORT unsigned int _winmajor;
  224. __MINGW_IMPORT unsigned int _winminor;
  225. #endif /* __DECLSPEC_SUPPORTED */
  226.  
  227. #else
  228. /* Not msvcrtxx.dll, thus crtdll.dll */
  229.  
  230. #ifndef __DECLSPEC_SUPPORTED
  231.  
  232. extern unsigned int*    _imp___osver_dll;
  233. extern unsigned int*    _imp___winver_dll;
  234. extern unsigned int*    _imp___winmajor_dll;
  235. extern unsigned int*    _imp___winminor_dll;
  236.  
  237. #define _osver        (*_imp___osver_dll)
  238. #define _winver        (*_imp___winver_dll)
  239. #define _winmajor    (*_imp___winmajor_dll)
  240. #define _winminor    (*_imp___winminor_dll)
  241.  
  242. #else /* __DECLSPEC_SUPPORTED */
  243.  
  244. __MINGW_IMPORT unsigned int    _osver_dll;
  245. __MINGW_IMPORT unsigned int    _winver_dll;
  246. __MINGW_IMPORT unsigned int    _winmajor_dll;
  247. __MINGW_IMPORT unsigned int    _winminor_dll;
  248.  
  249. #define _osver        _osver_dll
  250. #define _winver        _winver_dll
  251. #define _winmajor    _winmajor_dll
  252. #define _winminor    _winminor_dll
  253.  
  254. #endif /* __DECLSPEC_SUPPORTED */
  255.  
  256. #endif
  257.  
  258. #if defined  __MSVCRT__
  259. /* although the _pgmptr is exported as DATA,
  260.  * be safe and use the access function __p__pgmptr() to get it. */
  261. _CRTIMP char** __cdecl __p__pgmptr(void);
  262. #define _pgmptr     (*__p__pgmptr())
  263. _CRTIMP wchar_t** __cdecl __p__wpgmptr(void);
  264. #define _wpgmptr    (*__p__wpgmptr())
  265. #else /* ! __MSVCRT__ */
  266. # ifndef __DECLSPEC_SUPPORTED
  267.   extern char** __imp__pgmptr_dll;
  268. # define _pgmptr (*_imp___pgmptr_dll)
  269. # else /* __DECLSPEC_SUPPORTED */
  270.  __MINGW_IMPORT char* _pgmptr_dll;
  271. # define _pgmptr _pgmptr_dll
  272. # endif /* __DECLSPEC_SUPPORTED */
  273. /* no wide version in CRTDLL */
  274. #endif /* __MSVCRT__ */
  275.  
  276. /*
  277.  * This variable determines the default file mode.
  278.  * TODO: Which flags work?
  279.  */
  280. #if !defined (__DECLSPEC_SUPPORTED) || defined (__IN_MINGW_RUNTIME)
  281.  
  282. #ifdef __MSVCRT__
  283. extern int* _imp___fmode;
  284. #define    _fmode    (*_imp___fmode)
  285. #else
  286. /* CRTDLL */
  287. extern int* _imp___fmode_dll;
  288. #define    _fmode    (*_imp___fmode_dll)
  289. #endif
  290.  
  291. #else /* __DECLSPEC_SUPPORTED */
  292.  
  293. #ifdef __MSVCRT__
  294. __MINGW_IMPORT  int _fmode;
  295. #else /* ! __MSVCRT__ */
  296. __MINGW_IMPORT  int _fmode_dll;
  297. #define    _fmode    _fmode_dll
  298. #endif /* ! __MSVCRT__ */
  299.  
  300. #endif /* __DECLSPEC_SUPPORTED */
  301.  
  302. #endif /* Not __STRICT_ANSI__ */
  303.  
  304. _CRTIMP double __cdecl    atof    (const char*);
  305. _CRTIMP int __cdecl    atoi    (const char*);
  306. _CRTIMP long __cdecl     atol    (const char*);
  307. #if !defined (__STRICT_ANSI__)
  308. _CRTIMP int __cdecl    _wtoi (const wchar_t *);
  309. _CRTIMP long __cdecl _wtol (const wchar_t *);
  310. #endif
  311. _CRTIMP double __cdecl    strtod    (const char*, char**);
  312. #if !defined __NO_ISOCEXT  /* extern stub in static libmingwex.a */
  313. __CRT_INLINE float __cdecl strtof (const char *nptr, char **endptr)
  314.   { return (strtod (nptr, endptr));}
  315. long double __cdecl strtold (const char * __restrict__, char ** __restrict__);
  316. #endif /* __NO_ISOCEXT */
  317.  
  318. _CRTIMP long __cdecl    strtol    (const char*, char**, int);
  319. _CRTIMP unsigned long __cdecl    strtoul    (const char*, char**, int);
  320.  
  321. #ifndef _WSTDLIB_DEFINED
  322. /*  also declared in wchar.h */
  323. _CRTIMP double __cdecl    wcstod    (const wchar_t*, wchar_t**);
  324. #if !defined __NO_ISOCEXT /* extern stub in static libmingwex.a */
  325. __CRT_INLINE float __cdecl wcstof( const wchar_t *nptr, wchar_t **endptr)
  326. {  return (wcstod(nptr, endptr)); }
  327. long double __cdecl wcstold (const wchar_t * __restrict__, wchar_t ** __restrict__);
  328. #endif /* __NO_ISOCEXT */
  329.  
  330. _CRTIMP long __cdecl    wcstol    (const wchar_t*, wchar_t**, int);
  331. _CRTIMP unsigned long __cdecl    wcstoul (const wchar_t*, wchar_t**, int);
  332. #define _WSTDLIB_DEFINED
  333. #endif
  334.  
  335. _CRTIMP size_t __cdecl    wcstombs    (char*, const wchar_t*, size_t);
  336. _CRTIMP int __cdecl    wctomb        (char*, wchar_t);
  337.  
  338. _CRTIMP int __cdecl    mblen        (const char*, size_t);
  339. _CRTIMP size_t __cdecl    mbstowcs    (wchar_t*, const char*, size_t);
  340. _CRTIMP int __cdecl    mbtowc        (wchar_t*, const char*, size_t);
  341.  
  342. _CRTIMP int __cdecl    rand    (void);
  343. _CRTIMP void __cdecl    srand    (unsigned int);
  344.  
  345. _CRTIMP void* __cdecl    calloc    (size_t, size_t) __MINGW_ATTRIB_MALLOC;
  346. _CRTIMP void* __cdecl    malloc    (size_t) __MINGW_ATTRIB_MALLOC;
  347. _CRTIMP void* __cdecl    realloc    (void*, size_t);
  348. _CRTIMP void __cdecl    free    (void*);
  349.  
  350. _CRTIMP void __cdecl    abort    (void) __MINGW_ATTRIB_NORETURN;
  351. _CRTIMP void __cdecl    exit    (int) __MINGW_ATTRIB_NORETURN;
  352.  
  353. /* Note: This is in startup code, not imported directly from dll */
  354. int __cdecl    atexit    (void (*)(void));
  355.  
  356. _CRTIMP int __cdecl    system    (const char*);
  357. _CRTIMP char* __cdecl    getenv    (const char*);
  358.  
  359. /* bsearch and qsort are also in non-ANSI header search.h  */
  360. _CRTIMP void* __cdecl    bsearch    (const void*, const void*, size_t, size_t, 
  361.                  int (*)(const void*, const void*));
  362. _CRTIMP void __cdecl    qsort    (void*, size_t, size_t,
  363.                  int (*)(const void*, const void*));
  364.  
  365. _CRTIMP int __cdecl    abs    (int) __MINGW_ATTRIB_CONST;
  366. _CRTIMP long __cdecl    labs    (long) __MINGW_ATTRIB_CONST;
  367.  
  368. /*
  369.  * div_t and ldiv_t are structures used to return the results of div and
  370.  * ldiv.
  371.  *
  372.  * NOTE: div and ldiv appear not to work correctly unless
  373.  *       -fno-pcc-struct-return is specified. This is included in the
  374.  *       mingw32 specs file.
  375.  */
  376. typedef struct { int quot, rem; } div_t;
  377. typedef struct { long quot, rem; } ldiv_t;
  378.  
  379. _CRTIMP div_t __cdecl    div    (int, int) __MINGW_ATTRIB_CONST;
  380. _CRTIMP ldiv_t __cdecl    ldiv    (long, long) __MINGW_ATTRIB_CONST;
  381.  
  382. #if !defined (__STRICT_ANSI__)
  383.  
  384. /*
  385.  * NOTE: Officially the three following functions are obsolete. The Win32 API
  386.  *       functions SetErrorMode, Beep and Sleep are their replacements.
  387.  */
  388. _CRTIMP void __cdecl    _beep (unsigned int, unsigned int);
  389. _CRTIMP void __cdecl    _seterrormode (int);
  390. _CRTIMP void __cdecl    _sleep (unsigned long);
  391.  
  392. _CRTIMP void __cdecl    _exit    (int) __MINGW_ATTRIB_NORETURN;
  393.  
  394. /* _onexit is MS extension. Use atexit for portability.  */
  395. /* Note: This is in startup code, not imported directly from dll */
  396. typedef  int (* _onexit_t)(void);
  397. _onexit_t __cdecl _onexit( _onexit_t );
  398.  
  399. _CRTIMP int __cdecl    _putenv    (const char*);
  400. _CRTIMP void __cdecl    _searchenv (const char*, const char*, char*);
  401.  
  402.  
  403. _CRTIMP char* __cdecl    _ecvt (double, int, int*, int*);
  404. _CRTIMP char* __cdecl    _fcvt (double, int, int*, int*);
  405. _CRTIMP char* __cdecl    _gcvt (double, int, char*);
  406.  
  407. _CRTIMP void __cdecl    _makepath (char*, const char*, const char*, const char*, const char*);
  408. _CRTIMP void __cdecl    _splitpath (const char*, char*, char*, char*, char*);
  409. _CRTIMP char* __cdecl    _fullpath (char*, const char*, size_t);
  410.  
  411. _CRTIMP char* __cdecl    _itoa (int, char*, int);
  412. _CRTIMP char* __cdecl    _ltoa (long, char*, int);
  413. _CRTIMP char* __cdecl   _ultoa(unsigned long, char*, int);
  414. _CRTIMP wchar_t* __cdecl  _itow (int, wchar_t*, int);
  415. _CRTIMP wchar_t* __cdecl  _ltow (long, wchar_t*, int);
  416. _CRTIMP wchar_t* __cdecl  _ultow (unsigned long, wchar_t*, int);
  417.  
  418. #ifdef __MSVCRT__
  419. _CRTIMP __int64 __cdecl    _atoi64(const char *);
  420. _CRTIMP char* __cdecl    _i64toa(__int64, char *, int);
  421. _CRTIMP char* __cdecl    _ui64toa(unsigned __int64, char *, int);
  422. _CRTIMP __int64 __cdecl    _wtoi64(const wchar_t *);
  423. _CRTIMP wchar_t* __cdecl _i64tow(__int64, wchar_t *, int);
  424. _CRTIMP wchar_t* __cdecl _ui64tow(unsigned __int64, wchar_t *, int);
  425.  
  426. _CRTIMP wchar_t* __cdecl _wgetenv(const wchar_t*);
  427. _CRTIMP int __cdecl     _wputenv(const wchar_t*);
  428. _CRTIMP void __cdecl    _wsearchenv(const wchar_t*, const wchar_t*, wchar_t*);
  429. _CRTIMP void __cdecl    _wmakepath(wchar_t*, const wchar_t*, const wchar_t*, const wchar_t*, const wchar_t*);
  430. _CRTIMP void __cdecl    _wsplitpath (const wchar_t*, wchar_t*, wchar_t*, wchar_t*, wchar_t*);
  431. _CRTIMP wchar_t* __cdecl    _wfullpath (wchar_t*, const wchar_t*, size_t);
  432.  
  433. _CRTIMP unsigned int __cdecl _rotl(unsigned int, int) __MINGW_ATTRIB_CONST;
  434. _CRTIMP unsigned int __cdecl _rotr(unsigned int, int) __MINGW_ATTRIB_CONST;
  435. _CRTIMP unsigned long __cdecl _lrotl(unsigned long, int) __MINGW_ATTRIB_CONST;
  436. _CRTIMP unsigned long __cdecl _lrotr(unsigned long, int) __MINGW_ATTRIB_CONST;
  437. #endif
  438.  
  439. #ifndef    _NO_OLDNAMES
  440.  
  441. _CRTIMP int __cdecl    putenv (const char*);
  442. _CRTIMP void __cdecl    searchenv (const char*, const char*, char*);
  443.  
  444. _CRTIMP char* __cdecl    itoa (int, char*, int);
  445. _CRTIMP char* __cdecl    ltoa (long, char*, int);
  446.  
  447. #ifndef _UWIN
  448. _CRTIMP char* __cdecl    ecvt (double, int, int*, int*);
  449. _CRTIMP char* __cdecl    fcvt (double, int, int*, int*);
  450. _CRTIMP char* __cdecl    gcvt (double, int, char*);
  451. #endif /* _UWIN */
  452. #endif    /* Not _NO_OLDNAMES */
  453.  
  454. #endif    /* Not __STRICT_ANSI__ */
  455.  
  456. /* C99 names */
  457.  
  458. #if !defined __NO_ISOCEXT /* externs in static libmingwex.a */
  459.  
  460. /* C99 name for _exit */
  461. void __cdecl _Exit(int) __MINGW_ATTRIB_NORETURN;
  462. #ifndef __STRICT_ANSI__   /* inline using non-ansi functions */
  463. __CRT_INLINE void __cdecl _Exit(int status)
  464.     {  _exit(status); }
  465. #endif 
  466.  
  467. typedef struct { long long quot, rem; } lldiv_t;
  468.  
  469. lldiv_t    __cdecl lldiv (long long, long long) __MINGW_ATTRIB_CONST;
  470.  
  471. __CRT_INLINE long long __cdecl llabs(long long _j)
  472.   {return (_j >= 0 ? _j : -_j);}
  473.  
  474. long long  __cdecl strtoll (const char* __restrict__, char** __restrict, int);
  475. unsigned long long  __cdecl strtoull (const char* __restrict__, char** __restrict__, int);
  476.  
  477. #if defined (__MSVCRT__) /* these are stubs for MS _i64 versions */ 
  478. long long  __cdecl atoll (const char *);
  479.  
  480. #if !defined (__STRICT_ANSI__)
  481. long long  __cdecl wtoll (const wchar_t *);
  482. char* __cdecl lltoa (long long, char *, int);
  483. char* __cdecl ulltoa (unsigned long long , char *, int);
  484. wchar_t* __cdecl lltow (long long, wchar_t *, int);
  485. wchar_t* __cdecl ulltow (unsigned long long, wchar_t *, int);
  486.  
  487.   /* inline using non-ansi functions */
  488. __CRT_INLINE long long  __cdecl atoll (const char * _c)
  489.     { return _atoi64 (_c); }
  490. __CRT_INLINE char*  __cdecl lltoa (long long _n, char * _c, int _i)
  491.     { return _i64toa (_n, _c, _i); }
  492. __CRT_INLINE char*  __cdecl ulltoa (unsigned long long _n, char * _c, int _i)
  493.     { return _ui64toa (_n, _c, _i); }
  494. __CRT_INLINE long long  __cdecl wtoll (const wchar_t * _w)
  495.      { return _wtoi64 (_w); }
  496. __CRT_INLINE wchar_t*  __cdecl lltow (long long _n, wchar_t * _w, int _i)
  497.     { return _i64tow (_n, _w, _i); } 
  498. __CRT_INLINE wchar_t*  __cdecl ulltow (unsigned long long _n, wchar_t * _w, int _i)
  499.     { return _ui64tow (_n, _w, _i); } 
  500. #endif /* (__STRICT_ANSI__)  */
  501.  
  502. #endif /* __MSVCRT__ */
  503.  
  504. #endif /* !__NO_ISOCEXT */
  505.  
  506.  
  507. #ifdef __cplusplus
  508. }
  509. #endif
  510.  
  511. #endif    /* Not RC_INVOKED */
  512.  
  513. #endif    /* Not _STDLIB_H_ */
  514.  
  515.