summaryrefslogtreecommitdiff
path: root/include/errno.h
blob: 498db0fbffaf795c9a842fdbce3e843ff7870686 (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
26
#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