#define ENOEXEC 8 /* Exec format error */
#define EBADF 9 /* Bad file descriptor */
#define ECHILD 10 /* No child processes */
+#ifndef EDEADLK
#define EDEADLK 11 /* Resource deadlock avoided */
/* 11 was EAGAIN */
+#endif//EDEADLK
#define ENOMEM 12 /* Cannot allocate memory */
#define EACCES 13 /* Permission denied */
#define EFAULT 14 /* Bad address */
#define ERANGE 34 /* Result too large */
/* non-blocking and interrupt i/o */
+#ifndef EAGAIN
#define EAGAIN 35 /* Resource temporarily unavailable */
+#endif//EAGAIN
#ifndef _POSIX_SOURCE
#define EWOULDBLOCK EAGAIN /* Operation would block */
#define EINPROGRESS 36 /* Operation now in progress */
#define ELOOP 62 /* Too many levels of symbolic links */
#endif /* _POSIX_SOURCE */
+#ifndef ENAMETOOLONG
#define ENAMETOOLONG 63 /* File name too long */
+#endif//ENAMETOOLONG
/* should be rearranged */
#ifndef _POSIX_SOURCE
#define EHOSTDOWN 64 /* Host is down */
#define EHOSTUNREACH 65 /* No route to host */
#endif /* _POSIX_SOURCE */
+#ifndef ENOTEMPTY
#define ENOTEMPTY 66 /* Directory not empty */
+#endif//ENOTEMPTY
/* quotas & mush */
#ifndef _POSIX_SOURCE
#define EPROCUNAVAIL 76 /* Bad procedure for program */
#endif /* _POSIX_SOURCE */
+#ifndef ENOLCK
#define ENOLCK 77 /* No locks available */
+#endif//ENOLCK
+#ifndef ENOSYS
#define ENOSYS 78 /* Function not implemented */
+#endif//ENOSYS
#ifndef _POSIX_SOURCE
#define EFTYPE 79 /* Inappropriate file type or format */