| Previous | Next |
| ENOSTR | ETIME |
ENODATA
ENODATA is retained in Linux for compatibility with interfaces that use the traditional STREAMS distinction between “no data available” and other I/O failures. It is different from a permanent end-of-file condition and from a missing filesystem object.
For modern Linux code, first identify the compatibility layer or library that returned the value. Preserve whether the call was nonblocking, whether a message queue or stream head was involved, and whether the layer also reports readiness through poll(), select(), or epoll.
Distinguish from
EAGAINorEWOULDBLOCK: the common Linux result for a would-block nonblocking operation.ENOENT: a named object does not exist.EPIPE: a pipe or stream endpoint has been closed for writing.
Linux errno(3) · Linux UAPI errno definitions
Looking for a different code? Search another status or error code.