EINTR
EINTR, short for "Interrupted system call," is an errno value used on Unix-like systems to indicate that a system call was interrupted by a signal before it could complete. It is surfaced by the C library when a blocking operation is interrupted by a signal handler.
When a process is blocked in a system call and a signal is delivered, the kernel may
Commonly observed with blocking operations such as read, write, accept, poll, select, nanosleep, and wait, EINTR
Portability and values: The numeric value of EINTR is system dependent; on many Unix-like systems it is
See also: EAGAIN, EWOULDBLOCK, SA_RESTART, errno. EINTR remains a common source of subtle bugs in event-driven