linux 下各errno的意义

Linux dtkun 2127℃ 0评论
001Operation not permitted
002No such file or directory
003No such process
004Interrupted system call
005Input/output error
006No such device or address
007Argument list too long
008Exec format error
009Bad file descriptor
010No child processes
011Resource temporarily unavailable[资源临时不可用](连续发送数据时候回出此错,加延时)
012Cannot allocate memory
013Permission denied
014Bad address
015Block device required
016Device or resource busy
017File exists
018Invalid cross-device link
019No such device
020Not a directory
021Is a directory
022Invalid argument
023Too many open files in system
024Too many open files
025Inappropriate ioctl for device
026Text file busy
027File too large
028No space left on device
029Illegal seek
030Read-only file system
031Too many links
032Broken pipe[断开的管道](原因:the broken pipe error occurs if one end of the
TCP socket closes connection(using disconnect) or gets killed and the other
end tries to still write to it. An indication of a closed/terminated
connection is a return value of 0 when you try to read from that socket
using recv. After receiving such an error, if you try to still write to the
socket, your process gets sent the SIGPIPE signal which kills it.
033Numerical argument out of domain
034Numerical result out of range
035Resource deadlock avoided
036File name too long
037No locks available
038Function not implemented
039Directory not empty
040Too many levels of symbolic links
041Unknown error 41
042No message of desired type
043Identifier removed
044Channel number out of range
045Level 2 not synchronized
046Level 3 halted
047Level 3 reset
048Link number out of range
049Protocol driver not attached
050No CSI structure available
051Level 2 halted
052Invalid exchange
053Invalid request descriptor
054Exchange full
055No anode
056Invalid request code
057Invalid slot
058Unknown error 58
059Bad font file format
060Device not a stream
061No data available
062Timer expired
063Out of streams resources
064Machine is not on the network
065Package not installed
066Object is remote
067Link has been severed
068Advertise error
069Srmount error
070Communication error on send
071Protocol error
072Multihop attempted
073RFS specific error
74Bad message
075Value too large for defined data type
076Name not unique on network
077File descriptor in bad state
078Remote address changed
079Can not access a needed shared library
080Accessing a corrupted shared library
081.lib section in a.out corrupted
082Attempting to link in too many shared libraries
083Cannot exec a shared library directly
084Invalid or incomplete multibyte or wide character
085Interrupted system call should be restarted
086Streams pipe error
087Too many users
088Socket operation on non-socket
089Destination address required
090Message too long
091Protocol wrong type for socket
092Protocol not available
093Protocol not supported
094Socket type not supported
095Operation not supported
096Protocol family not supported
097Address family not supported by protocol
098Address already in use
099Cannot assign requested address
100Network is down
101Network is unreachable
102Network dropped connection on reset
103Software caused connection abort
104Connection reset by peer[l连接被对端重置]
105No buffer space available
106Transport endpoint is already connected
107Transport endpoint is not connected
108Cannot send after transport endpoint shutdown
109Too many references: cannot splice
110Connection timed out
111Connection refused
112Host is down
113No route to host
114Operation already in progress
115Operation now in progress
116Stale NFS file handle
117Structure needs cleaning
118Not a XENIX named type file
119No XENIX semaphores available
120 Is a named type file
121Remote I/O error
122Disk quota exceeded
123No medium found
124Wrong medium type
125Operation canceled
126Required key not available
127Key has expired
128Key has been revoked
129Key was rejected by service
130Owner died
131State not recoverable
132132-255 全是Unknown error

转载请注明:猫头鹰工作室 » linux 下各errno的意义

喜欢 (0)or分享 (0)



  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址