error.h 356 B

12345678910111213141516171819
  1. #ifndef __ERROR_H
  2. #define __ERROR_H
  3. #ifndef _RESEARCH_SOURCE
  4. This header file is not defined in pure ANSI or POSIX
  5. #endif
  6. #pragma lib "/$M/lib/ape/libv.a"
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. extern char *_progname; /* program name */
  11. extern void _perror(char *); /* perror but with _progname */
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif /* _ERROR_H */