diff --git a/Changes b/Changes index b154cb3e5..fc16d45b1 100644 --- a/Changes +++ b/Changes @@ -61,6 +61,10 @@ Global changes Changes to individual pages --------------------------- +accept.2 + mtk + Small wording fix. + get_mempolicy.2 mbind.2 sched_setaffinity.2 @@ -68,6 +72,14 @@ set_mempolicy.2 mtk SEE ALSO: Add getcpu(2). +io_getevents.2 + mtk + ERRORS: Add EINTR error. + +open.2 + mtk + ERRORS: Add EINTR error. + sigaction.2 mtk Note circumstances in which each SA_* flag is meaningful. diff --git a/man2/accept.2 b/man2/accept.2 index 424254a98..69a35c590 100644 --- a/man2/accept.2 +++ b/man2/accept.2 @@ -178,7 +178,8 @@ A connection has been aborted. .TP .B EINTR The system call was interrupted by a signal that was caught -before a valid connection arrived. +before a valid connection arrived; see +.BR signal (7). .TP .B EINVAL Socket is not listening for connections, or diff --git a/man2/connect.2 b/man2/connect.2 index 03f76f02a..b78e375be 100644 --- a/man2/connect.2 +++ b/man2/connect.2 @@ -201,7 +201,8 @@ is one of the usual error codes listed here, explaining the reason for the failure). .TP .B EINTR -The system call was interrupted by a signal that was caught. +The system call was interrupted by a signal that was caught; see +.BR signal (7). .\" For TCP, the connection will complete asynchronously. .\" See http://lkml.org/lkml/2005/7/12/254 .TP diff --git a/man2/epoll_wait.2 b/man2/epoll_wait.2 index 24045c859..b3f87ec77 100644 --- a/man2/epoll_wait.2 +++ b/man2/epoll_wait.2 @@ -159,7 +159,8 @@ is not accessible with write permissions. The call was interrupted by a signal handler before any of the requested events occurred or the .I timeout -expired. +expired; see +.BR signal (7). .TP .B EINVAL .I epfd diff --git a/man2/fcntl.2 b/man2/fcntl.2 index 2f6172e8c..ca70dabc3 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -279,7 +279,9 @@ and (after the signal handler has returned) returns immediately (with return value \-1 and .I errno set to -.BR EINTR ). +.BR EINTR ; +see +.BR signal (7)). .TP .B F_GETLK On input to this call, @@ -911,7 +913,8 @@ is outside your accessible address space. .B EINTR For .BR F_SETLKW , -the command was interrupted by a signal. +the command was interrupted by a signal; see +.BR signal (7). For .BR F_GETLK " and " F_SETLK , the command was interrupted by a signal before the lock was checked or diff --git a/man2/flock.2 b/man2/flock.2 index e5b8bb696..54c90a4a3 100644 --- a/man2/flock.2 +++ b/man2/flock.2 @@ -119,7 +119,8 @@ is not an open file descriptor. .TP .B EINTR While waiting to acquire a lock, the call was interrupted by -delivery of a signal caught by a handler. +delivery of a signal caught by a handler; see +.BR signal (7). .TP .B EINVAL .I operation diff --git a/man2/futex.2 b/man2/futex.2 index e43252e0b..83af6b7c1 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -183,8 +183,9 @@ the operation fails with the error If the futex was not equal to the expected value, the operation fails with the error .BR EWOULDBLOCK . -Signals (or other spurious wakeups) -cause +Signals (see +.BR signal (7)) +or other spurious wakeups) cause .B FUTEX_WAIT to fail with the error .BR EINTR . diff --git a/man2/poll.2 b/man2/poll.2 index afecceede..734a09697 100644 --- a/man2/poll.2 +++ b/man2/poll.2 @@ -264,7 +264,8 @@ The array given as argument was not contained in the calling program's address space. .TP .B EINTR -A signal occurred before any requested event. +A signal occurred before any requested event; see +.BR signal (7). .TP .B EINVAL The diff --git a/man2/read.2 b/man2/read.2 index 5d858bbf8..2f7e27bb3 100644 --- a/man2/read.2 +++ b/man2/read.2 @@ -90,7 +90,8 @@ is not a valid file descriptor or is not open for reading. is outside your accessible address space. .TP .B EINTR -The call was interrupted by a signal before any data was read. +The call was interrupted by a signal before any data was read; see +.BR signal (7). .TP .B EINVAL .I fd diff --git a/man2/recv.2 b/man2/recv.2 index 7180c32f5..107d6b47f 100644 --- a/man2/recv.2 +++ b/man2/recv.2 @@ -391,7 +391,8 @@ address space. .TP .B EINTR The receive was interrupted by delivery of a signal before -any data were available. +any data were available; see +.BR signal (7). .TP .B EINVAL Invalid argument passed. diff --git a/man2/select.2 b/man2/select.2 index 91d4cfaf0..231e1e838 100644 --- a/man2/select.2 +++ b/man2/select.2 @@ -305,7 +305,8 @@ An invalid file descriptor was given in one of the sets. or one on which an error has occurred.) .TP .B EINTR -A signal was caught. +A signal was caught; see +.BR signal (7). .TP .B EINVAL .I nfds diff --git a/man2/semop.2 b/man2/semop.2 index af609e51a..c985dff54 100644 --- a/man2/semop.2 +++ b/man2/semop.2 @@ -362,7 +362,8 @@ of semaphores in the set. The semaphore set was removed. .TP .B EINTR -While blocked in this system call, the process caught a signal. +While blocked in this system call, the process caught a signal; see +.BR signal (7). .TP .B EINVAL The semaphore set doesn't exist, or diff --git a/man2/send.2 b/man2/send.2 index 098f7db4c..a646c1145 100644 --- a/man2/send.2 +++ b/man2/send.2 @@ -299,7 +299,8 @@ The socket is not connection-mode, and no peer address is set. An invalid user space address was specified for a parameter. .TP .B EINTR -A signal occurred before any data was transmitted. +A signal occurred before any data was transmitted; see +.BR signal (7). .TP .B EINVAL Invalid argument passed. diff --git a/man2/sigwaitinfo.2 b/man2/sigwaitinfo.2 index 7a4708fae..32bd6e146 100644 --- a/man2/sigwaitinfo.2 +++ b/man2/sigwaitinfo.2 @@ -115,7 +115,8 @@ period specified to .BR sigtimedwait (). .TP .B EINTR -The wait was interrupted by a signal handler. +The wait was interrupted by a signal handler; see +.BR signal (7). (This handler was for a signal other than one of those in .IR set .) .TP diff --git a/man2/wait.2 b/man2/wait.2 index c885da063..675acb668 100644 --- a/man2/wait.2 +++ b/man2/wait.2 @@ -394,7 +394,8 @@ See also the \fILinux Notes\fP section about threads.) .B WNOHANG was not set and an unblocked signal or a .B SIGCHLD -was caught. +was caught; see +.BR signal (7). .TP .B EINVAL The diff --git a/man2/write.2 b/man2/write.2 index 410f7096b..3bcc93d54 100644 --- a/man2/write.2 +++ b/man2/write.2 @@ -127,7 +127,8 @@ maximum file size or the process's file size limit, or to write at a position past the maximum allowed offset. .TP .B EINTR -The call was interrupted by a signal before any data was written. +The call was interrupted by a signal before any data was written; see +.BR signal (7). .TP .B EINVAL .I fd diff --git a/man3/mq_receive.3 b/man3/mq_receive.3 index f309ced51..12a13db88 100644 --- a/man3/mq_receive.3 +++ b/man3/mq_receive.3 @@ -122,7 +122,8 @@ The descriptor specified in was invalid. .TP .B EINTR -The call was interrupted by a signal handler. +The call was interrupted by a signal handler; see +.BR signal (7). .TP .B EINVAL The call would have blocked, and diff --git a/man3/mq_send.3 b/man3/mq_send.3 index 1bd4c5299..84ad32602 100644 --- a/man3/mq_send.3 +++ b/man3/mq_send.3 @@ -127,7 +127,8 @@ The descriptor specified in was invalid. .TP .B EINTR -The call was interrupted by a signal handler. +The call was interrupted by a signal handler; see +.BR signal (7). .TP .B EINVAL The call would have blocked, and diff --git a/man3/sem_wait.3 b/man3/sem_wait.3 index 5f751f934..af4c4d27f 100644 --- a/man3/sem_wait.3 +++ b/man3/sem_wait.3 @@ -114,7 +114,8 @@ is set to indicate the error. .SH ERRORS .TP .B EINTR -The call was interrupted by a signal handler. +The call was interrupted by a signal handler; see +.BR signal (7). .TP .B EINVAL .I sem diff --git a/man3/usleep.3 b/man3/usleep.3 index 755aadc91..d58157c56 100644 --- a/man3/usleep.3 +++ b/man3/usleep.3 @@ -58,7 +58,8 @@ granularity of system timers. .SH ERRORS .TP .B EINTR -Interrupted by a signal. +Interrupted by a signal; see +.BR signal (7). .TP .B EINVAL \fIusec\fP is not smaller than 1000000. diff --git a/man7/inotify.7 b/man7/inotify.7 index 1fa4d6a05..431b3047f 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -75,7 +75,12 @@ from the inotify file descriptor. If no events have so far occurred, then, assuming a blocking file descriptor, .BR read (2) -will block until at least one event occurs. +will block until at least one event occurs +(unless interrupted by a signal, +in which case the call fails with the error +.BR EINTR ; +see +.BR signal (7)). Each successful .BR read (2)