[Wisp-cvs] wisp/modules linux.wrti,1.11,1.12
Status: Alpha
Brought to you by:
digg
From: <di...@us...> - 2002-09-04 14:31:24
|
Update of /cvsroot/wisp/wisp/modules In directory usw-pr-cvs1:/tmp/cvs-serv30361/modules Modified Files: linux.wrti Log Message: Defined the Linux error codes for Worth. Index: linux.wrti =================================================================== RCS file: /cvsroot/wisp/wisp/modules/linux.wrti,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- linux.wrti 4 Sep 2002 14:28:27 -0000 1.11 +++ linux.wrti 4 Sep 2002 14:31:21 -0000 1.12 @@ -106,6 +106,7 @@ (macro sys.munlock (conform %ebx %ecx) 151 \sys (believe %eax)) (macro sys.mlockall (conform %ebx) 152 \sys (believe %eax)) (macro sys.munlockall (conform) 153 \sys (believe %eax)) + (macro sys.getcwd (conform %ebx %ecx) 183 \sys (believe %eax)) (macro sys.socket swap rot 1 \skt (believe %eax) nip nip nip) (macro sys.bind swap rot 2 \skt (believe %eax) nip nip nip) @@ -115,6 +116,135 @@ (macro sys.getsockname swap rot 6 \skt (believe %eax) nip nip nip) (macro sys.getpeername swap rot 7 \skt (believe %eax) nip nip nip) (macro sys.shutdown swap 13 \skt (believe %eax) nip nip) + + ; <asm/errno.h> + (macro EPERM 1) ; Operation not permitted + (macro ENOENT 2) ; No such file or directory + (macro ESRCH 3) ; No such process + (macro EINTR 4) ; Interrupted system call + (macro EIO 5) ; I/O error + (macro ENXIO 6) ; No such device or address + (macro E2BIG 7) ; Arg list too long + (macro ENOEXEC 8) ; Exec format error + (macro EBADF 9) ; Bad file number + (macro ECHILD 10) ; No child processes + (macro EAGAIN 11) ; Try again + (macro ENOMEM 12) ; Out of memory + (macro EACCES 13) ; Permission denied + (macro EFAULT 14) ; Bad address + (macro ENOTBLK 15) ; Block device required + (macro EBUSY 16) ; Device or resource busy + (macro EEXIST 17) ; File exists + (macro EXDEV 18) ; Cross-device link + (macro ENODEV 19) ; No such device + (macro ENOTDIR 20) ; Not a directory + (macro EISDIR 21) ; Is a directory + (macro EINVAL 22) ; Invalid argument + (macro ENFILE 23) ; File table overflow + (macro EMFILE 24) ; Too many open files + (macro ENOTTY 25) ; Not a typewriter + (macro ETXTBSY 26) ; Text file busy + (macro EFBIG 27) ; File too large + (macro ENOSPC 28) ; No space left on device + (macro ESPIPE 29) ; Illegal seek + (macro EROFS 30) ; Read-only file system + (macro EMLINK 31) ; Too many links + (macro EPIPE 32) ; Broken pipe + (macro EDOM 33) ; Math argument out of domain of func + (macro ERANGE 34) ; Math result not representable + (macro EDEADLK 35) ; Resource deadlock would occur + (macro ENAMETOOLONG 36) ; File name too long + (macro ENOLCK 37) ; No record locks available + (macro ENOSYS 38) ; Function not implemented + (macro ENOTEMPTY 39) ; Directory not empty + (macro ELOOP 40) ; Too many symbolic links encountered + (macro EWOULDBLOCK EAGAIN) ; Operation would block + (macro ENOMSG 42) ; No message of desired type + (macro EIDRM 43) ; Identifier removed + (macro ECHRNG 44) ; Channel number out of range + (macro EL2NSYNC 45) ; Level 2 not synchronized + (macro EL3HLT 46) ; Level 3 halted + (macro EL3RST 47) ; Level 3 reset + (macro ELNRNG 48) ; Link number out of range + (macro EUNATCH 49) ; Protocol driver not attached + (macro ENOCSI 50) ; No CSI structure available + (macro EL2HLT 51) ; Level 2 halted + (macro EBADE 52) ; Invalid exchange + (macro EBADR 53) ; Invalid request descriptor + (macro EXFULL 54) ; Exchange full + (macro ENOANO 55) ; No anode + (macro EBADRQC 56) ; Invalid request code + (macro EBADSLT 57) ; Invalid slot + + (macro EDEADLOCK EDEADLK) + + (macro EBFONT 59) ; Bad font file format + (macro ENOSTR 60) ; Device not a stream + (macro ENODATA 61) ; No data available + (macro ETIME 62) ; Timer expired + (macro ENOSR 63) ; Out of streams resources + (macro ENONET 64) ; Machine is not on the network + (macro ENOPKG 65) ; Package not installed + (macro EREMOTE 66) ; Object is remote + (macro ENOLINK 67) ; Link has been severed + (macro EADV 68) ; Advertise error + (macro ESRMNT 69) ; Srmount error + (macro ECOMM 70) ; Communication error on send + (macro EPROTO 71) ; Protocol error + (macro EMULTIHOP 72) ; Multihop attempted + (macro EDOTDOT 73) ; RFS specific error + (macro EBADMSG 74) ; Not a data message + (macro EOVERFLOW 75) ; Value too large for defined data type + (macro ENOTUNIQ 76) ; Name not unique on network + (macro EBADFD 77) ; File descriptor in bad state + (macro EREMCHG 78) ; Remote address changed + (macro ELIBACC 79) ; Can not access a needed shared library + (macro ELIBBAD 80) ; Accessing a corrupted shared library + (macro ELIBSCN 81) ; .lib section in a.out corrupted + (macro ELIBMAX 82) ; Attempting to link in too many shared libraries + (macro ELIBEXEC 83) ; Cannot exec a shared library directly + (macro EILSEQ 84) ; Illegal byte sequence + (macro ERESTART 85) ; Interrupted system call should be restarted + (macro ESTRPIPE 86) ; Streams pipe error + (macro EUSERS 87) ; Too many users + (macro ENOTSOCK 88) ; Socket operation on non-socket + (macro EDESTADDRREQ 89) ; Destination address required + (macro EMSGSIZE 90) ; Message too long + (macro EPROTOTYPE 91) ; Protocol wrong type for socket + (macro ENOPROTOOPT 92) ; Protocol not available + (macro EPROTONOSUPPORT 93) ; Protocol not supported + (macro ESOCKTNOSUPPORT 94) ; Socket type not supported + (macro EOPNOTSUPP 95) ; Operation not supported on transport endpoint + (macro EPFNOSUPPORT 96) ; Protocol family not supported + (macro EAFNOSUPPORT 97) ; Address family not supported by protocol + (macro EADDRINUSE 98) ; Address already in use + (macro EADDRNOTAVAIL 99) ; Cannot assign requested address + (macro ENETDOWN 100) ; Network is down + (macro ENETUNREACH 101) ; Network is unreachable + (macro ENETRESET 102) ; Network dropped connection because of reset + (macro ECONNABORTED 103) ; Software caused connection abort + (macro ECONNRESET 104) ; Connection reset by peer + (macro ENOBUFS 105) ; No buffer space available + (macro EISCONN 106) ; Transport endpoint is already connected + (macro ENOTCONN 107) ; Transport endpoint is not connected + (macro ESHUTDOWN 108) ; Cannot send after transport endpoint shutdown + (macro ETOOMANYREFS 109) ; Too many references: cannot splice + (macro ETIMEDOUT 110) ; Connection timed out + (macro ECONNREFUSED 111) ; Connection refused + (macro EHOSTDOWN 112) ; Host is down + (macro EHOSTUNREACH 113) ; No route to host + (macro EALREADY 114) ; Operation already in progress + (macro EINPROGRESS 115) ; Operation now in progress + (macro ESTALE 116) ; Stale NFS file handle + (macro EUCLEAN 117) ; Structure needs cleaning + (macro ENOTNAM 118) ; Not a XENIX named type file + (macro ENAVAIL 119) ; No XENIX semaphores available + (macro EISNAM 120) ; Is a named type file + (macro EREMOTEIO 121) ; Remote I/O error + (macro EDQUOT 122) ; Quota exceeded + + (macro ENOMEDIUM 123) ; No medium found + (macro EMEDIUMTYPE 124) ; Wrong medium type ; <linux/socket.h> (macro AF_UNSPEC 0) (macro PF_UNSPEC 0) |