type parser fixes
[m6w6/ext-psi] / m4 / errno.m4
1 PSI_CHECK_ERRNO() {
2 AC_CHECK_HEADERS(errno.h)
3
4 PSI_EXTVAR(int errno)
5
6 PSI_CONST(E2BIG, int)
7 PSI_CONST(EACCES, int)
8 PSI_CONST(EADDRINUSE, int)
9 PSI_CONST(EADDRNOTAVAIL, int)
10 PSI_CONST(EAFNOSUPPORT, int)
11 PSI_CONST(EAGAIN, int)
12 PSI_CONST(EALREADY, int)
13 PSI_CONST(EBADF, int)
14 PSI_CONST(EBADMSG, int)
15 PSI_CONST(EBUSY, int)
16 PSI_CONST(ECANCELED, int)
17 PSI_CONST(ECHILD, int)
18 PSI_CONST(ECONNABORTED, int)
19 PSI_CONST(ECONNREFUSED, int)
20 PSI_CONST(ECONNRESET, int)
21 PSI_CONST(EDEADLK, int)
22 PSI_CONST(EDESTADDRREQ, int)
23 PSI_CONST(EDOM, int)
24 PSI_CONST(EDQUOT, int)
25 PSI_CONST(EEXIST, int)
26 PSI_CONST(EFAULT, int)
27 PSI_CONST(EFBIG, int)
28 PSI_CONST(EHOSTUNREACH, int)
29 PSI_CONST(EIDRM, int)
30 PSI_CONST(EILSEQ, int)
31 PSI_CONST(EINPROGRESS, int)
32 PSI_CONST(EINTR, int)
33 PSI_CONST(EINVAL, int)
34 PSI_CONST(EIO, int)
35 PSI_CONST(EISCONN, int)
36 PSI_CONST(EISDIR, int)
37 PSI_CONST(ELOOP, int)
38 PSI_CONST(EMFILE, int)
39 PSI_CONST(EMLINK, int)
40 PSI_CONST(EMSGSIZE, int)
41 PSI_CONST(EMULTIHOP, int)
42 PSI_CONST(ENAMETOOLONG, int)
43 PSI_CONST(ENETDOWN, int)
44 PSI_CONST(ENETRESET, int)
45 PSI_CONST(ENETUNREACH, int)
46 PSI_CONST(ENFILE, int)
47 PSI_CONST(ENOBUFS, int)
48 PSI_CONST(ENODATA, int)
49 PSI_CONST(ENODEV, int)
50 PSI_CONST(ENOENT, int)
51 PSI_CONST(ENOEXEC, int)
52 PSI_CONST(ENOLCK, int)
53 PSI_CONST(ENOLINK, int)
54 PSI_CONST(ENOMEM, int)
55 PSI_CONST(ENOMSG, int)
56 PSI_CONST(ENOPROTOOPT, int)
57 PSI_CONST(ENOSPC, int)
58 PSI_CONST(ENOSR, int)
59 PSI_CONST(ENOSTR, int)
60 PSI_CONST(ENOSYS, int)
61 PSI_CONST(ENOTCONN, int)
62 PSI_CONST(ENOTDIR, int)
63 PSI_CONST(ENOTEMPTY, int)
64 PSI_CONST(ENOTRECOVERABLE, int)
65 PSI_CONST(ENOTSOCK, int)
66 PSI_CONST(ENOTSUP, int)
67 PSI_CONST(ENOTTY, int)
68 PSI_CONST(ENXIO, int)
69 PSI_CONST(EOPNOTSUPP, int)
70 PSI_CONST(EOVERFLOW, int)
71 PSI_CONST(EOWNERDEAD, int)
72 PSI_CONST(EPERM, int)
73 PSI_CONST(EPIPE, int)
74 PSI_CONST(EPROTO, int)
75 PSI_CONST(EPROTONOSUPPORT, int)
76 PSI_CONST(EPROTOTYPE, int)
77 PSI_CONST(ERANGE, int)
78 PSI_CONST(EROFS, int)
79 PSI_CONST(ESPIPE, int)
80 PSI_CONST(ESRCH, int)
81 PSI_CONST(ESTALE, int)
82 PSI_CONST(ETIME, int)
83 PSI_CONST(ETIMEDOUT, int)
84 PSI_CONST(ETXTBSY, int)
85 PSI_CONST(EWOULDBLOCK, int)
86 PSI_CONST(EXDEV, int)
87 }