📄 errors.html
字号:
A message sent on a transport provider was largerthan an internal message buffer or some other network limit.<dt>[EMSGSIZE]<dd><index term="EMSGSIZE, "></index>Inappropriate message buffer length.<dt>[EMULTIHOP]<dd><index term="EMULTIHOP, "></index>Reserved<dt>[ENAMETOOLONG]<dd><index term="ENAMETOOLONG, "></index>Filename too longThe length of a pathname exceeds {PATH_MAX}, or a pathname component is longerthan {NAME_MAX} and {_POSIX_NO_TRUNC} was in effect for that file.<dt>[ENETDOWN]<dd><index term="ENETDOWN, "></index>Network is downThe local interface used to reach the destination is down.<dt>[ENETUNREACH]<dd><index term="ENETUNREACH, "></index>Network unreachableNo route to the network is present.<dt>[ENFILE]<dd><index term="ENFILE, "></index>Too many files open in systemToo many files are currently open in the system. The system has reached itspredefined limit for simultaneously open files and temporarily cannotaccept requests to open another one.<dt>[ENOBUFS]<dd><index term="ENOBUFS, "></index>No buffer space availableInsufficient buffer resources were available in the system to performthe socket operation.<dt>[ENODATA]<dd><index term="ENODATA, "></index>No message availableNo message is available on the STREAM head read queue.<dt>[ENODEV]<dd><index term="ENODEV, "></index>No such deviceAn attempt was made to apply an inappropriate function to a device; forexample, trying to read a write-only device such as a printer.<dt>[ENOENT]<dd><index term="ENOENT, "></index>No such file or directoryA component of a specified pathname does not exist, or the pathname is anempty string.<dt>[ENOEXEC]<dd><index term="ENOEXEC, "></index>Executable file format errorA request is made to execute a file that, although it has the appropriatepermissions, is not in the format required by the implementation forexecutable files.<dt>[ENOLCK]<dd><index term="ENOLCK, "></index>No locks availableA system-imposed limit on the number of simultaneous file and record lockshas been reached and no more are currently available.<dt>[ENOLINK]<dd><index term="ENOLINK, "></index>Reserved<dt>[ENOMEM]<dd><index term="ENOMEM, "></index>Not enough spaceThe new process image requires more memory than is allowed by the hardwareor system-imposed memory management constraints.<dt>[ENOMSG]<dd><index term="ENOMSG, "></index>No message of the desired typeThe message queue does not contain a message of the required typeduring interprocess communication.<dt>[ENOPROTOOPT]<dd><index term="ENOPROTOOPT, "></index>Protocol not availableThe protocol option specified to<i><a href="../xns/setsockopt.html">setsockopt()</a></i>is not supported by the implementation.<dt>[ENOSPC]<dd><index term="ENOSPC, "></index>No space left on a deviceDuring the<i><a href="write.html">write()</a></i>function on a regular file or when extendinga directory, there is no free space left on the device.<dt>[ENOSR]<dd><index term="ENOSR, "></index>No STREAM resourcesInsufficient STREAMS memory resources are available to perform a STREAMSrelated function. This is a temporary condition; one may recover from it ifother processes release resources.<dt>[ENOSTR]<dd><index term="ENOSTR, "></index>Not a STREAMA STREAM function was attempted on a file descriptor thatwas not associated with a STREAMS device.<dt>[ENOSYS]<dd><index term="ENOSYS, "></index>Function not implementedAn attempt was made to use a function that is not available in thisimplementation.<dt>[ENOTCONN]<dd><index term="ENOTCONN, "></index>Socket not connectedThe socket is not connected.<dt>[ENOTDIR]<dd><index term="ENOTDIR, "></index>Not a directoryA component of the specified pathname exists, but it is not a directory,when a directory was expected.<dt>[ENOTEMPTY]<dd><index term="ENOTEMPTY, "></index>Directory not emptyA directory with entries other than dot and dot-dot was supplied when anempty directory was expected.<dt>[ENOTSOCK]<dd><index term="ENOTSOCK, "></index>Not a socketThe file descriptor does not refer to a socket.<dt>[ENOTSUP]<dd><index term="ENOTSUP, "></index>Not supportedThe implementation does not support this feature of the RealtimeFeature Group.<dt>[ENOTTY]<dd><index term="ENOTTY, "></index>Inappropriate I/O control operationA control function has been attempted for a file or special file for whichthe operation is inappropriate.<dt>[ENXIO]<dd><index term="ENXIO, "></index>No such device or addressInput or output on a special file refers to a device that does not exist,or makes a request beyond the capabilities of the device. It may also occurwhen, for example, a tape drive is not on-line.<dt>[EOPNOTSUPP]<dd><index term="EOPNOTSUPP, "></index>Operation not supported on socketThe type of socket (address family or protocol) does not supportthe requested operation.<dt>[EOVERFLOW]<dd><index term="EOVERFLOW, "></index>Value too large to be stored in data typeThe user ID or group ID of an IPC or file systemobject was too large to be stored into appropriate member of thecaller-provided structure. This error will only occur on implementations thatsupport a larger range of user ID or group ID values than thedeclared structure member can support. This usually occurs becausethe IPC or file system object resides on a remote machine with a largervalue of the type <b>uid_t</b>, <b>off_t</b> or <b>gid_t</b> than the localsystem.<dt>[EPERM]<dd><index term="EPERM, "></index>Operation not permittedAn attempt was made to perform an operation limited to processes withappropriate privileges or to the owner of a file or other resource.<dt>[EPIPE]<dd><index term="EPIPE, "></index>Broken pipeA write was attempted on a socket, pipe or FIFO for which there is no process to read the data.<dt>[EPROTO]<dd><index term="EPROTO, "></index>Protocol errorSome protocol error occurred. This error is device specific, but is generallynot related to a hardware failure.<dt>[EPROTONOSUPPORT]<dd><index term="EPROTONOSUPPORT, "></index>Protocol not supportedThe protocol is not supported by the address family, orthe protocol is not supported by the implementation.<dt>[EPROTOTYPE]<dd><index term="EPROTOTYPE, "></index>Socket type not supportedThe socket type is not supported by the protocol.<dt>[ERANGE]<dd><index term="ERANGE, "></index>Result too large or too smallThe result of the function is too large (overflow) or too small (underflow)to be represented in the available space.(Defined in the ISO C standard.)<dt>[EROFS]<dd><index term="EROFS, "></index>Read-only file systemAn attempt was made to modify a file or directory on a file system thatis read only.<dt>[ESPIPE]<dd><index term="ESPIPE, "></index>Invalid seekAn attempt was made to access the file offset associated with apipe or FIFO.<dt>[ESRCH]<dd><index term="ESRCH, "></index>No such processNo process can be found corresponding to that specified by the given processID.<dt>[ESTALE]<dd><index term="ESTALE, "></index>Reserved<dt>[ETIME]<dd><index term="ETIME, "></index>STREAM<i><a href="ioctl.html">ioctl()</a></i>timeoutThe timer set for a STREAMS<i><a href="ioctl.html">ioctl()</a></i>call has expired. The cause of this error is device specific and couldindicate either a hardware or software failure, or a timeout value that is tooshort for the specific operation. The status of the<i><a href="ioctl.html">ioctl()</a></i>operation is indeterminate.<dt>[ETIMEDOUT]<dd><index term="ETIMEDOUT, "></index>Connection timed outThe connection to a remote machine has timed out. If the connection timed outduring execution of the function that reported this error (as opposed totiming out prior to the function being called), it is unspecified whether thefunction has completed some or all of the documented behaviour associated witha successful completion of the function.<dt>[ETIMEDOUT]<dd><index term="ETIMEDOUT, "></index>Operation timed outThe time limit associated with the operation was exceeded before theoperation completed.<dt>[ETXTBSY]<dd><index term="ETXTBSY, "></index>Text file busyAn attempt was made to execute a pure-procedure program that is currentlyopen for writing, or an attempt has been made to open for writing apure-procedure program that is being executed.<dt>[EWOULDBLOCK]<dd><index term="EWOULDBLOCK, "></index>Operation would blockAn operation on a socket marked as non-blocking has encountered asituation such as no data available that otherwise would havecaused the function to suspend execution.An XSI-conforming implementation may assign the same values for[EWOULDBLOCK] and [EAGAIN].<dt>[EXDEV]<dd><index term="EXDEV, "></index>Improper linkA link to a file on another file system was attempted.</dl><h4><a name = "tag_000_004_001"> </a>Additional Error Numbers</h4><xref type="3" name="adderr"></xref>Additional implementation-dependent error numbers may be defined in<i><a href="errno.h.html"><errno.h></a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -