1 /*
2  *  errno.h
3  *
4  *	$Id: errno.h,v 1.1 2012-04-20 15:46:39 stefano Exp $
5  */
6 
7 #ifndef __ERRNO_H__
8 #define __ERRNO_H__
9 
10 #include <sys/compiler.h>
11 
12 extern int errno;
13 
14 typedef int error_t;
15 
16 #define EOK  0
17 #define EACCES  1
18 #define EBADF  2
19 #define EBDFD  3
20 #define EDOM  4
21 #define EFBIG  5
22 #define EINVAL  6
23 #define EMFILE  7
24 #define ENFILE  8
25 #define ENOLCK  9
26 #define ENOMEM  10
27 #define ENOTSUP  11
28 #define EOVERFLOW  12
29 #define ANGE  13
30 #define ESTAT  14
31 #define EAGAIN  15
32 #define EWOULDBLOCK  15
33 
34 
35 #endif
36