summaryrefslogtreecommitdiffstats
path: root/include/errno.h
blob: aa7e6bcaea3d50722db221c7c90ff9e2da140393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _ERRNO_H
#define _ERRNO_H

#include <features.h>
#include <bits/errno.h>

__BEGIN_DECLS

extern int sys_nerr;
extern const char *const sys_errlist[];

#define _sys_nerr sys_nerr
#define _sys_errlist sys_errlist

#ifndef	errno
extern int	errno;
#endif
extern void	perror __P ((__const char* __s));
extern char*	strerror __P ((int __errno));

__END_DECLS

#endif