|
@@ -110,7 +110,7 @@ MODULE LinLibc ["libc.so.66.0"];
|
|
|
|
|
|
|
|
|
|
(* possible error constants for errno *)
|
|
(* possible error constants for errno *)
|
|
- (* OpenBSD /usr/include/sys/errno.h *)
|
|
|
|
|
|
+ (* /usr/include/sys/errno.h *)
|
|
EPERM* = 1; (* Operation not permitted *)
|
|
EPERM* = 1; (* Operation not permitted *)
|
|
ENOENT* = 2; (* No such file or directory *)
|
|
ENOENT* = 2; (* No such file or directory *)
|
|
ESRCH* = 3; (* No such process *)
|
|
ESRCH* = 3; (* No such process *)
|
|
@@ -179,6 +179,33 @@ MODULE LinLibc ["libc.so.66.0"];
|
|
EIDRM* = 89; (* Identifier removed *)
|
|
EIDRM* = 89; (* Identifier removed *)
|
|
ENOMSG* = 90; (* No message of desired type *)
|
|
ENOMSG* = 90; (* No message of desired type *)
|
|
ENOTSUP* = 91; (* Not supported *)
|
|
ENOTSUP* = 91; (* Not supported *)
|
|
|
|
+ ENOTBLK* = 15; (* Block device required *)
|
|
|
|
+ ESOCKTNOSUPPORT* = 44; (* Socket type not supported *)
|
|
|
|
+ EPFNOSUPPORT* = 46; (* Protocol family not supported *)
|
|
|
|
+ ESHUTDOWN* = 58; (* Can't send after socket shutdown *)
|
|
|
|
+ ETOOMANYREFS* = 59; (* Too many references: can't splice *)
|
|
|
|
+ EHOSTDOWN* = 64; (* Host is down *)
|
|
|
|
+ EHOSTUNREACH* = 65; (* No route to host *)
|
|
|
|
+ EPROCLIM* = 67; (* Too many processes *)
|
|
|
|
+ EUSERS* = 68; (* Too many users *)
|
|
|
|
+ EREMOTE* = 71; (* Too many levels of remote in path *)
|
|
|
|
+ EBADRPC* = 72; (* RPC struct is bad *)
|
|
|
|
+ ERPCMISMATCH* = 73; (* RPC version wrong *)
|
|
|
|
+ EPROGUNAVAIL* = 74; (* RPC prog. not avail *)
|
|
|
|
+ EPROGMISMATCH* = 75; (* Program version wrong *)
|
|
|
|
+ EPROCUNAVAIL* = 76; (* Bad procedure for program *)
|
|
|
|
+ EFTYPE* = 79; (* Inappropriate file type or format *)
|
|
|
|
+ EAUTH* = 80; (* Authentication error *)
|
|
|
|
+ ENEEDAUTH* = 81; (* Need authenticator *)
|
|
|
|
+ EIPSEC* = 82; (* IPsec processing failure *)
|
|
|
|
+ ENOATTR* = 83; (* Attribute not found *)
|
|
|
|
+ ENOMEDIUM* = 85; (* No medium found *)
|
|
|
|
+ EMEDIUMTYPE* = 86; (* Wrong Medium Type *)
|
|
|
|
+ EOVERFLOW* = 87; (* Conversion overflow *)
|
|
|
|
+ ECANCELED* = 88; (* Operation canceled *)
|
|
|
|
+ ELAST* = 91; (* Must be equal largest errno *)
|
|
|
|
+ ERESTART* = -1; (* restart syscall *)
|
|
|
|
+ EJUSTRETURN* = -2; (* don't modify regs, just return *)
|
|
|
|
|
|
|
|
|
|
(* OpenBSD 5.2 /usr/include/i386/setjmp.h *)
|
|
(* OpenBSD 5.2 /usr/include/i386/setjmp.h *)
|