EINTR
Interrupted system call
- Linux value
- 4
- strerror(3)
- Interrupted system call
- On this site
- 3 syscalls
A signal arrived before the call finished. Retry it, or install the handler with SA_RESTART where the call supports restarting.
Where you will see EINTR
- flock(2)Linux · File descriptors
A caught signal interrupted the wait for the lock.
- futex(2)Linux · IPC
Interrupted by a signal. Since Linux 2.6.22 this no longer doubles as a spurious wakeup.
- getrandom(2)Linux · Security
Interrupted by a signal handler; small (<= 256 byte) urandom reads after init don't hit this.
Sources
- errno(3), Linux man-pages
- The meaning for each syscall is taken from that syscall's own card and the man page it cites.
Values are the Linux numbers on x86 and arm64; other architectures and the BSDs number some errors differently. BSD cards list the names the BSD man page uses. Spot one that's wrong? Tell Rod.