summaryrefslogtreecommitdiff
path: root/libc/include/errno.h
blob: c8d2002a7ba05d6d23ab91fe65383382abdefd7f (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 <linuxmt/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