blob: a7b7d7bbc84af865b4e1ee12b9604a88f354d050 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef __ERRNO_H
#define __ERRNO_H
#include <features.h>
#include __SYSINC__(errno.h)
#ifdef __USE_BSD
extern int sys_nerr;
extern char *sys_errlist[];
#endif
#ifdef __USE_GNU
extern int _sys_nerr;
extern char *_sys_errlist[];
#endif
extern int errno;
__BEGIN_DECLS
extern void perror __P ((__const char* __s));
extern char* strerror __P ((int __errno));
__END_DECLS
#endif
|