diff --git a/man2/select.2 b/man2/select.2 index 930413590..151932eaf 100644 --- a/man2/select.2 +++ b/man2/select.2 @@ -41,7 +41,7 @@ select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO \- synchronous I/O multiplexing .SH SYNOPSIS .nf -/* According to POSIX.1-2001 */ +/* According to POSIX.1-2001, POSIX.1-2008 */ .br .B #include .sp @@ -265,7 +265,7 @@ struct timespec { .fi .in -(However, see below on the POSIX.1-2001 versions.) +(However, see below on the POSIX.1 versions.) .PP Some code calls .BR select () @@ -281,7 +281,7 @@ modifies .I timeout to reflect the amount of time not slept; most other implementations do not do this. -(POSIX.1-2001 permits either behavior.) +(POSIX.1 permits either behavior.) This causes problems both when Linux code which reads .I timeout is ported to other operating systems, and when code is ported to Linux @@ -348,7 +348,7 @@ Prior to this, was emulated in glibc (but see BUGS). .SH CONFORMING TO .BR select () -conforms to POSIX.1-2001 and +conforms to POSIX.1-2001, POSIX.1-2008, and 4.4BSD .RB ( select () first appeared in 4.2BSD). @@ -360,7 +360,7 @@ sets the timeout variable before exit, but the BSD variant does not. .PP .BR pselect () is defined in POSIX.1g, and in -POSIX.1-2001. +POSIX.1-2001 and POSIX.1-2008. .SH NOTES An .I fd_set @@ -386,7 +386,7 @@ structure are typed as .I long (as shown above), and the structure is defined in .IR . -The POSIX.1-2001 situation is +The POSIX.1 situation is .in +4n .nf @@ -411,7 +411,7 @@ include .I for .BR select (). -The POSIX.1-2001 situation is that one should include +The POSIX.1 situation is that one should include .I for .BR select () @@ -545,7 +545,7 @@ also modifies if the call is interrupted by a signal handler (i.e., the .B EINTR error return). -This is not permitted by POSIX.1-2001. +This is not permitted by POSIX.1. The Linux .BR pselect () system call has the same behavior,