home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dmake40.zip / unix / sysvr3 / stdlib.h < prev    next >
C/C++ Source or Header  |  1994-10-23  |  594b  |  31 lines

  1. #ifndef _STDLIB_INCLUDED_
  2. #define _STDLIB_INCLUDED_
  3.  
  4. #ifndef _AIX
  5. extern /*GOTO*/ _exit();
  6. extern /*GOTO*/ exit();
  7. extern /*GOTO*/ abort();
  8. extern int system();
  9. extern char *getenv();
  10. extern char *calloc();
  11. extern char *malloc();
  12. extern char *realloc();
  13.  
  14. /* The AIX compiler dies on illegal redefinition of free */
  15. extern free();
  16. #endif
  17.  
  18. /* AIX doesn't use NAME_MAX anylonger... */
  19. #ifdef _AIX
  20. #include <unistd.h>
  21. #define NAME_MAX pathconf("/dev/null",_PC_NAME_MAX)
  22. #endif
  23.  
  24. extern int errno;
  25.  
  26. #ifndef EIO
  27. #    include <errno.h>
  28. #endif
  29.  
  30. #endif /* _STDLIB_INCLUDED_ */
  31.