errno.h 342 B

1234567891011121314151617181920
  1. #ifndef _ERRNO_H
  2. #define _ERRNO_H
  3. #include <features.h>
  4. #include <bits/errno.h>
  5. extern int sys_nerr;
  6. extern const char *const sys_errlist[];
  7. #define _sys_nerr sys_nerr
  8. #define _sys_errlist sys_errlist
  9. #ifndef errno
  10. extern int errno;
  11. #endif
  12. extern void perror __P ((__const char* __s));
  13. extern char* strerror __P ((int __errno));
  14. #endif