XWOS API
4.0
XWOS C/C++ API参考手册
|
宏定义 | |
#define | EPERM 1 |
Operation not permitted | |
#define | ENOENT 2 |
No such file or directory | |
#define | ESRCH 3 |
No such process | |
#define | EINTR 4 |
Interrupted system call | |
#define | EIO 5 |
I/O error | |
#define | ENXIO 6 |
No such device or address | |
#define | E2BIG 7 |
Arg list too long | |
#define | ENOEXEC 8 |
Exec format error | |
#define | EBADF 9 |
Bad file number | |
#define | ECHILD 10 |
No children | |
#define | EAGAIN 11 |
No more processes | |
#define | ENOMEM 12 |
Not enough space | |
#define | EACCES 13 |
Permission denied | |
#define | EFAULT 14 |
Bad address | |
#define | ENOTBLK 15 |
Block device required | |
#define | EBUSY 16 |
Device or resource busy | |
#define | EEXIST 17 |
File exists | |
#define | EXDEV 18 |
Cross-device link | |
#define | ENODEV 19 |
No such device | |
#define | ENOTDIR 20 |
Not a directory | |
#define | EISDIR 21 |
Is a directory | |
#define | EINVAL 22 |
Invalid argument | |
#define | ENFILE 23 |
Too many open files in system | |
#define | EMFILE 24 |
File descriptor value too large | |
#define | ENOTTY 25 |
Not a character device | |
#define | ETXTBSY 26 |
Text file busy | |
#define | EFBIG 27 |
File too large | |
#define | ENOSPC 28 |
No space left on device | |
#define | ESPIPE 29 |
Illegal seek | |
#define | EROFS 30 |
Read-only file system | |
#define | EMLINK 31 |
Too many links | |
#define | EPIPE 32 |
Broken pipe | |
#define | EDOM 33 |
Mathematics argument out of domain of function | |
#define | ERANGE 34 |
Result too large | |
#define | ENOMSG 35 |
No message of desired type | |
#define | EIDRM 36 |
Identifier removed | |
#define | ECHRNG 37 |
Channel number out of range | |
#define | EL2NSYNC 38 |
Level 2 not synchronized | |
#define | EL3HLT 39 |
Level 3 halted | |
#define | EL3RST 40 |
Level 3 reset | |
#define | ELNRNG 41 |
Link number out of range | |
#define | EUNATCH 42 |
Protocol driver not attached | |
#define | ENOCSI 43 |
No CSI structure available | |
#define | EL2HLT 44 |
Level 2 halted | |
#define | EDEADLK 45 |
Deadlock | |
#define | ENOLCK 46 |
No lock | |
#define | EBADE 50 |
Invalid exchange | |
#define | EBADR 51 |
Invalid request descriptor | |
#define | EXFULL 52 |
Exchange full | |
#define | ENOANO 53 |
No anode | |
#define | EBADRQC 54 |
Invalid request code | |
#define | EBADSLT 55 |
Invalid slot | |
#define | EDEADLOCK 56 |
File locking deadlock error | |
#define | EBFONT 57 |
Bad font file fmt | |
#define | ENOSTR 60 |
Not a stream | |
#define | ENODATA 61 |
No data (for no delay io) | |
#define | ETIME 62 |
Stream ioctl timeout | |
#define | ENOSR 63 |
No stream resources | |
#define | ENONET 64 |
Machine is not on the network | |
#define | ENOPKG 65 |
Package not installed | |
#define | EREMOTE 66 |
The object is remote | |
#define | ENOLINK 67 |
Virtual circuit is gone | |
#define | EADV 68 |
Advertise error | |
#define | ESRMNT 69 |
Srmount error | |
#define | ECOMM 70 |
Communication error on send | |
#define | EPROTO 71 |
Protocol error | |
#define | EMULTIHOP 74 |
Multihop attempted | |
#define | ELBIN 75 |
Inode is remote (not really error) | |
#define | EDOTDOT 76 |
Cross mount point (not really error) | |
#define | EBADMSG 77 |
Bad message | |
#define | EFTYPE 79 |
Inappropriate file type or format | |
#define | ENOTUNIQ 80 |
Given log. name not unique | |
#define | EBADFD 81 |
f.d. invalid for this operation | |
#define | EREMCHG 82 |
Remote address changed | |
#define | ELIBACC 83 |
Can't access a needed shared lib | |
#define | ELIBBAD 84 |
Accessing a corrupted shared lib | |
#define | ELIBSCN 85 |
.lib section in a.out corrupted | |
#define | ELIBMAX 86 |
Attempting to link in too many libs | |
#define | ELIBEXEC 87 |
Attempting to exec a shared library | |
#define | ENOSYS 88 |
Function not implemented | |
#define | ENMFILE 89 |
No more files | |
#define | ENOTEMPTY 90 |
Directory not empty | |
#define | ENAMETOOLONG 91 |
File or path name too long | |
#define | ELOOP 92 |
Too many symbolic links | |
#define | EOPNOTSUPP 95 |
Operation not supported on socket | |
#define | EPFNOSUPPORT 96 |
Protocol family not supported | |
#define | ECONNRESET 104 |
Connection reset by peer | |
#define | ENOBUFS 105 |
No buffer space available | |
#define | EAFNOSUPPORT 106 |
Address family not supported by protocol family | |
#define | EPROTOTYPE 107 |
Protocol wrong type for socket | |
#define | ENOTSOCK 108 |
Socket operation on non-socket | |
#define | ENOPROTOOPT 109 |
Protocol not available | |
#define | ESHUTDOWN 110 |
Can't send after socket shutdown | |
#define | ECONNREFUSED 111 |
Connection refused | |
#define | EADDRINUSE 112 |
Address already in use | |
#define | ECONNABORTED 113 |
Software caused connection abort | |
#define | ENETUNREACH 114 |
Network is unreachable | |
#define | ENETDOWN 115 |
Network interface is not configured | |
#define | ETIMEDOUT 116 |
Connection timed out | |
#define | EHOSTDOWN 117 |
Host is down | |
#define | EHOSTUNREACH 118 |
Host is unreachable | |
#define | EINPROGRESS 119 |
Connection already in progress | |
#define | EALREADY 120 |
Socket already connected | |
#define | EDESTADDRREQ 121 |
Destination address required | |
#define | EMSGSIZE 122 |
Message too long | |
#define | EPROTONOSUPPORT 123 |
Unknown protocol | |
#define | ESOCKTNOSUPPORT 124 |
Socket type not supported | |
#define | EADDRNOTAVAIL 125 |
Address not available | |
#define | ENETRESET 126 |
Connection aborted by network | |
#define | EISCONN 127 |
Socket is already connected | |
#define | ENOTCONN 128 |
Socket is not connected | |
#define | ETOOMANYREFS 129 |
Too many references: cannot splice | |
#define | EPROCLIM 130 |
#define | EUSERS 131 |
Too many users | |
#define | EDQUOT 132 |
Disk quota exceeded (POSIX.1-2001) | |
#define | ESTALE 133 |
Stale file handle (POSIX.1-2001). | |
#define | ENOTSUP 134 |
Not supported | |
#define | ENOMEDIUM 135 |
No medium (in tape drive) | |
#define | ENOSHARE 136 |
No such host or network path | |
#define | ECASECLASH 137 |
Filename exists with different case | |
#define | EILSEQ 138 |
Illegal byte sequence | |
#define | EOVERFLOW 139 |
Value too large for defined data type | |
#define | ECANCELED 140 |
Operation canceled | |
#define | ENOTRECOVERABLE 141 |
State not recoverable | |
#define | EOWNERDEAD 142 |
Previous owner died | |
#define | ESTRPIPE 143 |
Streams pipe error | |
#define | EWOULDBLOCK EAGAIN |
Operation would block | |
#define | ERESTARTSYS 512 |
restart syscall.. | |
#define | ERESTARTNOINTR 513 |
#define | ERESTARTNOHAND 514 |
restart if no handler.. | |
#define | ENOIOCTLCMD 515 |
No ioctl command | |
#define | ERESTART_RESTARTBLOCK 516 |
restart by calling sys_restart_syscall | |
#define | EPROBE_DEFER 517 |
Driver requests probe retry | |
#define | EOPENSTALE 518 |
open found a stale dentry | |
#define | ENOPARAM 519 |
Parameter not supported | |
#define | EBADHANDLE 521 |
Illegal NFS file handle | |
#define | ENOTSYNC 522 |
Update synchronization mismatch | |
#define | EBADCOOKIE 523 |
Cookie is stale | |
#define | ENOTSUPP 524 |
Operation is not supported | |
#define | ETOOSMALL 525 |
Buffer or request is too small | |
#define | ESERVERFAULT 526 |
An untranslatable error occurred | |
#define | EBADTYPE 527 |
Type not supported by server | |
#define | EJUKEBOX 528 |
Request initiated, but will not complete before timeout | |
#define | EIOCBQUEUED 529 |
iocb queued, will get completion event | |
#define | ERECALLCONFLICT 530 |
conflict with recalled state | |
#define | XWOK 0 |
No error | |
#define | ETHDCTX 800 |
Thread context | |
#define | ENOTTHDCTX 801 |
Not thread context | |
#define | EBHCTX 802 |
Bottom half context | |
#define | ENOTBHCTX 803 |
Not bottom half context | |
#define | EISRCTX 804 |
ISR context | |
#define | ENOTISRCTX 805 |
Not ISR context | |
#define | EDISPMPT 806 |
preemption disabled | |
#define | EDISBH 807 |
bottom half disabled | |
#define | EDISIRQ 808 |
irq disabled | |
#define | EEXIT 814 |
Need to exit | |
#define | ETYPE 830 |
Type error | |
#define | EEMPTY 831 |
Empty error | |
#define | ENEGATIVE 832 |
Negative state | |
#define | ESIZE 833 |
Size error | |
#define | E2SMALL 835 |
Too small | |
#define | EALIGN 836 |
Not aligned | |
#define | EOWNER 837 |
Owner error | |
#define | EMISSINGEND 838 |
forget closing error | |
#define | EBUG 860 |
BUG | |
#define | ENILOBJD 880 |
Nil object descriptor | |
#define | EOBJDEAD 884 |
Object dead | |
#define | EOBJACTIVE 885 |
Object active | |