diff options
Diffstat (limited to 'man2/poll.2')
-rw-r--r-- | man2/poll.2 | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/man2/poll.2 b/man2/poll.2 index f1a5a9795..69668f88e 100644 --- a/man2/poll.2 +++ b/man2/poll.2 @@ -29,11 +29,11 @@ Standard C library .SH DESCRIPTION .BR poll () performs a similar task to -.BR select (2): +.MR select 2 : it waits for one of a set of file descriptors to become ready to perform I/O. The Linux-specific -.BR epoll (7) +.MR epoll 7 API performs a similar task, but offers features beyond those found in .BR poll (). .P @@ -160,16 +160,16 @@ Possibilities include: .RS .IP \[bu] 3 There is out-of-band data on a TCP socket (see -.BR tcp (7)). +.MR tcp 7 ). .IP \[bu] A pseudoterminal master in packet mode has seen a state change on the slave (see -.BR ioctl_tty (2)). +.MR ioctl_tty 2 ). .IP \[bu] A .I cgroup.events file has been modified (see -.BR cgroups (7)). +.MR cgroups 7 ). .RE .TP .B POLLOUT @@ -243,11 +243,11 @@ The relationship between and .BR ppoll () is analogous to the relationship between -.BR select (2) +.MR select 2 and -.BR pselect (2): +.MR pselect 2 : like -.BR pselect (2), +.MR pselect 2 , .BR ppoll () allows an application to safely wait until either a file descriptor becomes ready or until a signal is caught. @@ -293,7 +293,7 @@ results in an error from .BR ppoll (). .P See the description of -.BR pselect (2) +.MR pselect 2 for an explanation of why .BR ppoll () is necessary. @@ -316,7 +316,7 @@ argument specifies an upper limit on the amount of time that .BR ppoll () will block. This argument is a pointer to a -.BR timespec (3) +.MR timespec 3 structure. .P If @@ -348,7 +348,7 @@ address space. .TP .B EINTR A signal occurred before any requested event; see -.BR signal (7). +.MR signal 7 . .TP .B EINVAL The @@ -415,7 +415,7 @@ wrapper function specifies this argument as a fixed value (equal to .IR sizeof(kernel_sigset_t) ). See -.BR sigprocmask (2) +.MR sigprocmask 2 for a discussion on the differences between the kernel and the libc notion of the sigset. .SH STANDARDS @@ -439,7 +439,7 @@ On older kernels that lack this system call, the glibc .BR poll () wrapper function provides emulation using -.BR select (2). +.MR select 2 . .TP .BR ppoll () Linux 2.6.16, @@ -456,11 +456,11 @@ flag. For a discussion of what may happen if a file descriptor being monitored by .BR poll () is closed in another thread, see -.BR select (2). +.MR select 2 . .SH BUGS See the discussion of spurious readiness notifications under the BUGS section of -.BR select (2). +.MR select 2 . .SH EXAMPLES The program below opens each of the files named in its command-line arguments and monitors the resulting file descriptors for readiness to read @@ -641,9 +641,9 @@ main(int argc, char *argv[]) .EE .\" SRC END .SH SEE ALSO -.BR restart_syscall (2), -.BR select (2), -.BR select_tut (2), -.BR timespec (3), -.BR epoll (7), -.BR time (7) +.MR restart_syscall 2 , +.MR select 2 , +.MR select_tut 2 , +.MR timespec 3 , +.MR epoll 7 , +.MR time 7 |