Expand description
§XWOS RUST:错误码
Constants§
- E2BIG
- Arg list too long
- E2SMALL
- Too small
- EACCES
- Permission denied
- EADDRINUSE
- Address already in use
- EADDRNOTAVAIL
- Address not available
- EADV
- Advertise error
- EAFNOSUPPORT
- Address family not supported by protocol family
- EAGAIN
- No more processes
- EALIGN
- Not aligned
- EALREADY
- Socket already connected
- EBADCOOKIE
- Cookie is stale
- EBADE
- Invalid exchange
- EBADF
- Bad file number
- EBADFD
- f.d. invalid for this operation
- EBADHANDLE
- Illegal NFS file handle
- EBADMSG
- Bad message
- EBADR
- Invalid request descriptor
- EBADRQC
- Invalid request code
- EBADSLT
- Invalid slot
- EBADTYPE
- Type not supported by server
- EBFONT
- Bad font file fmt
- EBHCTX
- Bottom half context
- EBUG
- BUG
- EBUSY
- Device or resource busy
- ECANCELED
- Operation canceled
- ECASECLASH
- Filename exists with different case
- ECHILD
- No children
- ECHRNG
- Channel number out of range
- ECOMM
- Communication error on send
- ECONNABORTED
- Software caused connection abort
- ECONNREFUSED
- Connection refused
- ECONNRESET
- Connection reset by peer
- EDEADLK
- Deadlock
- EDEADLOCK
- File locking deadlock error
- EDESTADDRREQ
- Destination address required
- EDISBH
- Cannot enter BH
- EDISIRQ
- Cannot enter BH
- EDISPMPT
- Cannot preemption
- EDOM
- Mathematics argument out of domain of function
- EDOTDOT
- Cross mount point (not really error)
- EDQUOT
- Disk quota exceeded (POSIX.1-2001)
- EEMPTY
- Empty error
- EEXIST
- File exists
- EEXIT
- Need to exit
- EFAULT
- Bad address
- EFBIG
- File too large
- EFTYPE
- Inappropriate file type or format
- EHOSTDOWN
- Host is down
- EHOSTUNREACH
- Host is unreachable
- EIDRM
- Identifier removed
- EILSEQ
- Illegal byte sequence
- EINPROGRESS
- Connection already in progress
- EINTR
- Interrupted system call
- EINVAL
- Invalid argument
- EIO
- I/O error
- EIOCBQUEUED
- iocb queued, will get completion event
- EISCONN
- Socket is already connected
- EISDIR
- Is a directory
- EISRCTX
- ISR context
- EJUKEBOX
- Request initiated, but will not complete before timeout
- EL2HLT
- Level 2 halted
- EL2NSYNC
- Level 2 not synchronized
- EL3HLT
- Level 3 halted
- EL3RST
- Level 3 reset
- ELBIN
- Inode is remote (not really error)
- ELIBACC
- Can’t access a needed shared lib
- ELIBBAD
- Accessing a corrupted shared lib
- ELIBEXEC
- Attempting to exec a shared library
- ELIBMAX
- Attempting to link in too many libs
- ELIBSCN
- .lib section in a.out corrupted
- ELNRNG
- Link number out of range
- ELOOP
- Too many symbolic links
- EMFILE
- File descriptor value too large
- EMLINK
- Too many links
- EMSGSIZE
- Message too long
- EMULTIHOP
- Multihop attempted
- ENAMETOOLONG
- File or path name too long
- ENEGATIVE
- Negative state
- ENETDOWN
- Network interface is not configured
- ENETRESET
- Connection aborted by network
- ENETUNREACH
- Network is unreachable
- ENFILE
- Too many open files in system
- ENILOBJD
- Nil object descriptor
- ENMFILE
- No more files
- ENOANO
- No anode
- ENOBUFS
- No buffer space available
- ENOCSI
- No CSI structure available
- ENODATA
- No data (for no delay io)
- ENODEV
- No such device
- ENOENT
- No such file or directory
- ENOEXEC
- Exec format error
- ENOIOCTLCMD
- No ioctl command
- ENOLCK
- No lock
- ENOLINK
- Virtual circuit is gone
- ENOMEDIUM
- No medium (in tape drive)
- ENOMEM
- Not enough space
- ENOMSG
- No message of desired type
- ENONET
- Machine is not on the network
- ENOPARAM
- Parameter not supported
- ENOPKG
- Package not installed
- ENOPROTOOPT
- Protocol not available
- ENOSHARE
- No such host or network path
- ENOSPC
- No space left on device
- ENOSR
- No stream resources
- ENOSTR
- Not a stream
- ENOSYS
- Function not implemented
- ENOTBHCTX
- Not bottom half context
- ENOTBLK
- Block device required
- ENOTCONN
- Socket is not connected
- ENOTDIR
- Not a directory
- ENOTEMPTY
- Directory not empty
- ENOTISRCTX
- Not ISR context
- ENOTRECOVERABLE
- State not recoverable
- ENOTSOCK
- Socket operation on non-socket
- ENOTSUP
- Not supported
- ENOTSUPP
- Operation is not supported
- ENOTSYNC
- Update synchronization mismatch
- ENOTTHDCTX
- Not thread context
- ENOTTY
- Not a character device
- ENOTUNIQ
- Given log. name not unique
- ENXIO
- No such device or address
- EOBJACTIVE
- Object active
- EOBJDEAD
- Object dead
- EOPENSTALE
- open found a stale dentry
- EOPNOTSUPP
- Operation not supported on socket
- EOVERFLOW
- Value too large for defined data type
- EOWNER
- Owner error
- EOWNERDEAD
- Previous owner died
- EPERM
- Operation not permitted
- EPFNOSUPPORT
- Protocol family not supported
- EPIPE
- Broken pipe
- EPROBE_
DEFER - Driver requests probe retry
- EPROCLIM
- EPROTO
- Protocol error
- EPROTONOSUPPORT
- Unknown protocol
- EPROTOTYPE
- Protocol wrong type for socket
- ERANGE
- Result too large
- ERECALLCONFLICT
- conflict with recalled state
- EREMCHG
- Remote address changed
- EREMOTE
- The object is remote
- ERESTARTNOHAND
- restart if no handler..
- ERESTARTNOINTR
- ERESTARTSYS
- restart syscall..
- ERESTART_
RESTARTBLOCK - restart by calling sys_restart_syscall
- EROFS
- Read-only file system
- ESERVERFAULT
- An untranslatable error occurred
- ESHUTDOWN
- Can’t send after socket shutdown
- ESIZE
- Size error
- ESOCKTNOSUPPORT
- Socket type not supported
- ESPIPE
- Illegal seek
- ESRCH
- No such process
- ESRMNT
- Srmount error
- ESTALE
- Stale file handle (POSIX.1-2001).
- ESTRPIPE
- Streams pipe error
- ETHDCTX
- Thread context
- ETIME
- Stream ioctl timeout
- ETIMEDOUT
- Connection timed out
- ETOOMANYREFS
- Too many references: cannot splice
- ETOOSMALL
- Buffer or request is too small
- ETXTBSY
- Text file busy
- ETYPE
- Type error
- EUNATCH
- Protocol driver not attached
- EUSERS
- Too many users
- EWOULDBLOCK
- Operation would block
- EXDEV
- Cross-device link
- EXFULL
- Exchange full
- XWOK
- No error