⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syscalls_114.html

📁 Linux系统调用
💻 HTML
字号:
<!-- This HTML file has been created by texi2html 1.29
     from syscalls.texi on 4 June 1994 -->

<TITLE>Syscall specifications of Linux - errors</TITLE>
<P>Go to the <A HREF="syscalls_113.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_113.html">previous</A>, <A HREF="syscalls_115.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_115.html">next</A> section.<P>
<H1><A NAME="SEC114" HREF="syscalls_toc.html#SEC114" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_toc.html#SEC114">Errors</A></H1>
<P>
<DL COMPACT>
<DT><CODE>EPERM</CODE>
<DD>Operation not permitted 
<P>
<DT><CODE>ENOENT</CODE>
<DD>An element of the path does not exist.
<P>
<DT><CODE>ESRCH</CODE>
<DD>The specified process does not exist. 
<P>
<DT><CODE>EINTR</CODE>
<DD>The system call was interrupted by a signal. 
<P>
<DT><CODE>EIO</CODE>
<DD>An I/O error occured. 
<P>
<DT><CODE>ENXIO</CODE>
<DD>No such device or address 
<P>
<DT><CODE>E2BIG</CODE>
<DD>The argument list (or vector) too long. 
<P>
<DT><CODE>ENOEXEC</CODE>
<DD>Exec format error 
<P>
<DT><CODE>EBADF</CODE>
<DD>Bad file descriptor number 
<P>
<DT><CODE>ECHILD</CODE>
<DD>No child processes 
<P>
<DT><CODE>EAGAIN</CODE>
<DD>Try again 
<P>
<DT><CODE>ENOMEM</CODE>
<DD>Out of kernel memory to complete the call. 
<P>
<DT><CODE>EACCESS</CODE>
<DD>The taks does not have enough privilege to perform the operation.
<P>
<DT><CODE>EFAULT</CODE>
<DD>A pointer points to an invalid address
<P>
<DT><CODE>ENOTBLK</CODE>
<DD>Block device required 
<P>
<DT><CODE>EBUSY</CODE>
<DD>Device or resource busy 
<P>
<DT><CODE>EEXIST</CODE>
<DD>Tried to create a file that already exists. 
<P>
<DT><CODE>EXDEV</CODE>
<DD>Tried to create a cross-device link. 
<P>
<DT><CODE>ENODEV</CODE>
<DD>No such device 
<P>
<DT><CODE>ENOTDIR</CODE>
<DD>An element of the path that should have been a directory is not, in
fact, a directory.
<P>
<DT><CODE>EISDIR</CODE>
<DD>The file descriptor is a directory. 
<P>
<DT><CODE>EINVAL</CODE>
<DD>Invalid argument 
<P>
<DT><CODE>ENFILE</CODE>
<DD>The kernel has too many open files.
<P>
<DT><CODE>EMFILE</CODE>
<DD>The task has too many open files .
<P>
<DT><CODE>ENOTTY</CODE>
<DD>Not a typewriter 
<P>
<DT><CODE>ETXTBSY</CODE>
<DD>Text file busy 
<P>
<DT><CODE>EFBIG</CODE>
<DD>File too large 
<P>
<DT><CODE>ENOSPC</CODE>
<DD>Not enough space left on device to complete the call. 
<P>
<DT><CODE>ESPIPE</CODE>
<DD>Illegal seek 
<P>
<DT><CODE>EROFS</CODE>
<DD>Attemps to modify a read-only file system .
<P>
<DT><CODE>EMLINK</CODE>
<DD>The file maximum number of links has been reached.
<P>
<DT><CODE>EPIPE</CODE>
<DD>Broken pipe 
<P>
<DT><CODE>EDOM</CODE>
<DD>Math argument out of domain of func 
<P>
<DT><CODE>ERANGE</CODE>
<DD>Math result not representable 
<P>
<DT><CODE>EDEADLK</CODE>
<DD>Resource deadlock would occur 
<P>
<DT><CODE>ENAMETOOLONG</CODE>
<DD>File name too long 
<P>
<DT><CODE>ENOLCK</CODE>
<DD>No record locks available 
<P>
<DT><CODE>ENOSYS</CODE>
<DD>Function not implemented 
<P>
<DT><CODE>ENOTEMPTY</CODE>
<DD>The destination directory is not empty. 
<P>
<DT><CODE>ELOOP</CODE>
<DD>Too many symbolic links or cyclic path encountered
<P>
<DT><CODE>EWOULDBLOCK</CODE>
<DD>The operation would block if it has been requested as a blocking call. 
<P>
<DT><CODE>ENOMSG</CODE>
<DD>No message of desired type 
<P>
<DT><CODE>EIDRM</CODE>
<DD>Identifier removed 
<P>
<DT><CODE>ECHRNG</CODE>
<DD>Channel number out of range 
<P>
<DT><CODE>EL2NSYNC</CODE>
<DD>Level 2 not synchronized 
<P>
<DT><CODE>EL3HLT</CODE>
<DD>Level 3 halted 
<P>
<DT><CODE>EL3RST</CODE>
<DD>Level 3 reset 
<P>
<DT><CODE>ELNRNG</CODE>
<DD>Link number out of range 
<P>
<DT><CODE>EUNATCH</CODE>
<DD>Protocol driver not attached 
<P>
<DT><CODE>ENOCSI</CODE>
<DD>No CSI structure available 
<P>
<DT><CODE>EL2HLT</CODE>
<DD>Level 2 halted 
<P>
<DT><CODE>EBADE</CODE>
<DD>Invalid exchange 
<P>
<DT><CODE>EBADR</CODE>
<DD>Invalid request descriptor 
<P>
<DT><CODE>EXFULL</CODE>
<DD>Exchange full 
<P>
<DT><CODE>ENOANO</CODE>
<DD>No anode 
<P>
<DT><CODE>EBADRQC</CODE>
<DD>Invalid request code 
<P>
<DT><CODE>EBADSLT</CODE>
<DD>Invalid slot 
<P>
<DT><CODE>EDEADLOCK</CODE>
<DD>File locking deadlock error 
<P>
<DT><CODE>EBFONT</CODE>
<DD>Bad font file format 
<P>
<DT><CODE>ENOSTR</CODE>
<DD>Device not a stream 
<P>
<DT><CODE>ENODATA</CODE>
<DD>No data available 
<P>
<DT><CODE>ETIME</CODE>
<DD>Timer expired 
<P>
<DT><CODE>ENOSR</CODE>
<DD>Out of streams resources 
<P>
<DT><CODE>ENONET</CODE>
<DD>Machine is not on the network 
<P>
<DT><CODE>ENOPKG</CODE>
<DD>Package not installed 
<P>
<DT><CODE>EREMOTE</CODE>
<DD>Object is remote 
<P>
<DT><CODE>ENOLINK</CODE>
<DD>Link has been severed 
<P>
<DT><CODE>EADV</CODE>
<DD>Advertise error 
<P>
<DT><CODE>ESRMNT</CODE>
<DD>Srmount error 
<P>
<DT><CODE>ECOMM</CODE>
<DD>Communication error on send 
<P>
<DT><CODE>EPROTO</CODE>
<DD>Protocol error 
<P>
<DT><CODE>EMULTIHOP</CODE>
<DD>Multihop attempted 
<P>
<DT><CODE>EDOTDOT</CODE>
<DD>RFS specific error 
<P>
<DT><CODE>EBADMSG</CODE>
<DD>Not a data message 
<P>
<DT><CODE>EOVERFLOW</CODE>
<DD>Value too large for defined data type 
<P>
<DT><CODE>ENOTUNIQ</CODE>
<DD>Name not unique on network 
<P>
<DT><CODE>EBADFD</CODE>
<DD>File descriptor in bad state 
<P>
<DT><CODE>EREMCHG</CODE>
<DD>Remote address changed 
<P>
<DT><CODE>ELIBACC</CODE>
<DD>Can not access a needed shared library 
<P>
<DT><CODE>ELIBBAD</CODE>
<DD>Accessing a corrupted shared library 
<P>
<DT><CODE>ELIBSCN</CODE>
<DD>.lib section in a.out corrupted 
<P>
<DT><CODE>ELIBMAX</CODE>
<DD>Attempting to link in too many shared libraries 
<P>
<DT><CODE>ELIBEXEC</CODE>
<DD>Cannot exec a shared library directly 
<P>
<DT><CODE>EILSEQ</CODE>
<DD>Illegal byte sequence 
<P>
<DT><CODE>ERESTART</CODE>
<DD>Interrupted system call should be restarted 
<P>
<DT><CODE>ESTRPIPE</CODE>
<DD>Streams pipe error 
<P>
<DT><CODE>EUSERS</CODE>
<DD>Too many users 
<P>
<DT><CODE>ENOTSOCK</CODE>
<DD>Socket operation on non-socket 
<P>
<DT><CODE>EDESTADDRREQ</CODE>
<DD>Destination address required 
<P>
<DT><CODE>EMSGSIZE</CODE>
<DD>Message too long 
<P>
<DT><CODE>EPROTOTYPE</CODE>
<DD>Protocol wrong type for socket 
<P>
<DT><CODE>ENOPROTOOPT</CODE>
<DD>Protocol not available 
<P>
<DT><CODE>EPROTONOSUPPORT</CODE>
<DD>The protocol requested is not supported. 
<P>
<DT><CODE>ESOCKTNOSUPPORT</CODE>
<DD>Socket type not supported 
<P>
<DT><CODE>EOPNOTSUPP</CODE>
<DD>The requested operation not supported on transport endpoint. 
<P>
<DT><CODE>EPFNOSUPPORT</CODE>
<DD>Protocol family not supported 
<P>
<DT><CODE>EAFNOSUPPORT</CODE>
<DD>The address family is not supported on the machine.
<P>
<DT><CODE>EADDRINUSE</CODE>
<DD>Address already in use 
<P>
<DT><CODE>EADDRNOTAVAIL</CODE>
<DD>Cannot assign requested address 
<P>
<DT><CODE>ENETDOWN</CODE>
<DD>Network is down 
<P>
<DT><CODE>ENETUNREACH</CODE>
<DD>Network is unreachable 
<P>
<DT><CODE>ENETRESET</CODE>
<DD>Network dropped connection because of reset 
<P>
<DT><CODE>ECONNABORTED</CODE>
<DD>Software caused connection abort 
<P>
<DT><CODE>ECONNRESET</CODE>
<DD>Connection reset by peer 
<P>
<DT><CODE>ENOBUFS</CODE>
<DD>Not enough buffer space available to complete the call.
<P>
<DT><CODE>EISCONN</CODE>
<DD>Transport endpoint is already connected 
<P>
<DT><CODE>ENOTCONN</CODE>
<DD>Transport endpoint is not connected. 
<P>
<DT><CODE>ESHUTDOWN</CODE>
<DD>Cannot send after transport endpoint shutdown 
<P>
<DT><CODE>ETOOMANYREFS</CODE>
<DD>Too many references: cannot splice 
<P>
<DT><CODE>ETIMEDOUT</CODE>
<DD>Connection timed out 
<P>
<DT><CODE>ECONNREFUSED</CODE>
<DD>Connection refused 
<P>
<DT><CODE>EHOSTDOWN</CODE>
<DD>Host is down 
<P>
<DT><CODE>EHOSTUNREACH</CODE>
<DD>No route to host 
<P>
<DT><CODE>EALREADY</CODE>
<DD>Operation already in progress 
<P>
<DT><CODE>EINPROGRESS</CODE>
<DD>Operation now in progress 
<P>
<DT><CODE>ESTALE</CODE>
<DD>Stale NFS file handle 
<P>
<DT><CODE>EUCLEAN</CODE>
<DD>Structure needs cleaning 
<P>
<DT><CODE>ENOTNAM</CODE>
<DD>Not a XENIX named type file 
<P>
<DT><CODE>ENAVAIL</CODE>
<DD>No XENIX semaphores available 
<P>
<DT><CODE>EISNAM</CODE>
<DD>Is a named type file 
<P>
<DT><CODE>EREMOTEIO</CODE>
<DD>Remote I/O error 
<P>
<DT><CODE>EDQUOT</CODE>
<DD>Quota exceeded 
<P>
</DL>
<P>Go to the <A HREF="syscalls_113.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_113.html">previous</A>, <A HREF="syscalls_115.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_115.html">next</A> section.<P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -