summaryrefslogtreecommitdiff
path: root/include/errno.h
blob: f96590c2e125e31b5656c6df7627c1c242c1153b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __ERRNO_H
#define __ERRNO_H

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

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

#define _sys_nerr sys_nerr
#define _sys_errlist sys_errlist

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

#endif