home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1996 December / CD_shareware_12-96.iso / DOS / Programa / CCDL122.ZIP / CLIBS / STDINC / STDLIB.I < prev    next >
Encoding:
Text File  |  1996-06-15  |  4.5 KB  |  131 lines

  1.  
  2.  
  3.  
  4. typedef long    ptrdiff_t;
  5.  
  6. typedef unsigned size_t;
  7.  
  8.  
  9. typedef unsigned wchar_t;
  10.  
  11. typedef struct {
  12.         int     quot;
  13.         int     rem;
  14. } div_t;
  15.  
  16.  
  17. /* Maximum value returned by "rand" function
  18. */
  19.  
  20.  
  21. typedef void (* atexit_t)(void);
  22.  
  23.  
  24. void         abort(void);
  25.  
  26.  
  27. int          __abs__(int);
  28. int         abs(int __x);
  29.  
  30.  
  31. int         atexit(void (*__func)(void));
  32. double      atof(const char *__s);
  33. int         atoi(const char *__s);
  34. long        atol(const char *__s);
  35. void * bsearch(const void *__key, const void *__base,
  36.                            size_t __nelem, size_t __width,
  37.                            int (*fcmp)(const void *,
  38.                            const void *));
  39. void * calloc(size_t __nitems, size_t __size);
  40. div_t       div(int __numer, int __denom);
  41. void        exit(int __status);
  42. void        free(void *__block);
  43. char * getenv(const char *__name);
  44. void * malloc(size_t __size);
  45. int          mblen(const char *__s, size_t __n);
  46. size_t       mbstowcs(wchar_t *__pwcs, const char *__s,
  47.                                     size_t __n);
  48. int          mbtowc(wchar_t *__pwc, const char *__s, size_t __n);
  49. void         qsort(void *__base, size_t __nelem, size_t __width,
  50.                        int (* __fcmp)(const void *, const void *));
  51. int         rand(void);
  52. void  *realloc(void *__block, size_t __size);
  53. void        srand(unsigned __seed);
  54. double      strtod(const char *__s, char **__endptr);
  55. long          strtol(const char *__s, char **__endptr,
  56.                                     int __radix);
  57. double _strtold(const char *__s, char **__endptr);
  58. unsigned long   strtoul(const char *__s, char **__endptr,
  59.                                        int __radix);
  60. int           system(const char *__command);
  61. size_t       wcstombs(char *__s, const wchar_t *__pwcs,
  62.                                     size_t __n);
  63. int          wctomb(char *__s, wchar_t __wc);
  64. int          wctombflush(char *__s);
  65.  
  66. extern  char          ** _environ;
  67. extern  int              _fmode;
  68. extern  unsigned char    _osmajor;
  69. extern  unsigned char    _osminor;
  70. extern  unsigned int     _version;
  71.  
  72.  
  73.  
  74. /* Constants for MSC pathname functions */
  75.  
  76.  
  77. double     _atold(const char *__s);
  78. unsigned char   _crotl(unsigned char __value, int __count);
  79. unsigned char   _crotr(unsigned char __value, int __count);
  80. char     * ecvt(double __value, int __ndig, int *__dec,
  81.                            int *__sign);
  82. void            _exit(int __status);
  83. char     * fcvt(double __value, int __ndig, int *__dec,
  84.                            int *__sign);
  85. char     *  _fullpath( char *__buf,
  86.                                  const char *__path,
  87.                                  size_t __maxlen );
  88. char     * gcvt(double __value, int __ndec, char *__buf);
  89. char     *  itoa(int __value, char *__string, int __radix);
  90. void     *  lfind(const void *__key, const void *__base,
  91.                                  size_t *__num, size_t __width,
  92.                                  int (* __fcmp)(const void *,
  93.                                  const void *));
  94.  
  95. void     *  lsearch(const void *__key, void *__base,
  96.                                  size_t *__num, size_t __width,
  97.                            int (* __fcmp)(const void *, const void *));
  98. char     *  ltoa(long __value, char *__string, int __radix);
  99. void             _makepath( char *__path,
  100.                                  const char *__drive,
  101.                                  const char *__dir,
  102.                                  const char *__name,
  103.                                  const char *__ext );
  104. int              putenv(const char *__name);
  105.  
  106. unsigned        __rotl__(unsigned __value, int __count);     /* intrinsic */
  107. unsigned        __rotr__(unsigned __value, int __count);     /* intrinsic */
  108.  
  109. void            _searchenv(const char *__file,
  110.                                  const char *__varname,
  111.                                  char *__pathname);
  112. void            _searchstr(const char *__file,
  113.                                  const char *__ipath,
  114.                                  char *__pathname);
  115. void             _splitpath( const char *__path,
  116.                                  char *__drive,
  117.                                  char *__dir,
  118.                                  char *__name,
  119.                                  char *__ext );
  120. void             swab(char *__from, char *__to, int __nbytes);
  121. char     *  ultoa(unsigned long __value, char *__string,
  122.                                  int __radix);
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.