home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / cook-1.4 / part01 / h / stdlib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-03  |  588 b   |  46 lines

  1. /*
  2.  * MANIFEST: minimum stdlib.h replacement
  3.  */
  4.  
  5. #ifndef _H_stdlib
  6. #define _H_stdlib
  7.  
  8. typedef struct div_t div_t;
  9. struct div_t
  10. {
  11.     int quot;
  12.     int rem;
  13. };
  14.  
  15. typedef struct ldiv_t ldiv_t;
  16. struct ldiv_t
  17. {
  18.     long quot;
  19.     long rem;
  20. };
  21.  
  22. double atof();
  23. int atoi();
  24. long atol();
  25. double strtod();
  26. unsigned long strtoul();
  27. int rand();
  28. void srand();
  29. void *calloc();
  30. void free();
  31. void *malloc();
  32. void *realloc();
  33. void abort();
  34. int atexit();
  35. void exit();
  36. char *getenv();
  37. int system();
  38. void *bsearch();
  39. void qsort();
  40. int abs();
  41. div_t div();
  42. long labs();
  43. ldiv_t ldiv();
  44.  
  45. #endif /* _H_stdlib */
  46.