blob: 871c95bef0f1c7182f8c4e7efbcb49507a59adc2 (
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 <linux/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
|