summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-11-17 16:34:07 +0000
committermike <mike@FreeBSD.org>2002-11-17 16:34:07 +0000
commit6e674c0af0e05c6e705ccf2936c5d69a4b22ff61 (patch)
treedc1fea6572f7be4187c71136c61f82d43f5d9562 /lib
parentacc6f4edfb35c2d6a47d1c2462ce45cb86e11312 (diff)
downloadFreeBSD-src-6e674c0af0e05c6e705ccf2936c5d69a4b22ff61.zip
FreeBSD-src-6e674c0af0e05c6e705ccf2936c5d69a4b22ff61.tar.gz
Update SYNOPSIS to reflect the standardized header. Add STANDARDS
section. PR: 43270
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/select.217
1 files changed, 13 insertions, 4 deletions
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2
index b0affba..b3addb7 100644
--- a/lib/libc/sys/select.2
+++ b/lib/libc/sys/select.2
@@ -32,7 +32,7 @@
.\" @(#)select.2 8.2 (Berkeley) 3/25/94
.\" $FreeBSD$
.\"
-.Dd March 25, 1994
+.Dd November 17, 2002
.Dt SELECT 2
.Os
.Sh NAME
@@ -41,9 +41,7 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.In sys/types.h
-.In sys/time.h
-.In unistd.h
+.In sys/select.h
.Ft int
.Fn select "int nfds" "fd_set *readfds" "fd_set *writefds" "fd_set *exceptfds" "struct timeval *timeout"
.Fn FD_SET fd &fdset
@@ -192,6 +190,17 @@ Thus, it is unwise to assume that the timeout value will be unmodified
by the
.Fn select
call.
+.Sh STANDARDS
+The
+.Fn select
+function and
+.Fn FD_CLR ,
+.Fn FD_ISSET ,
+.Fn FD_SET ,
+and
+.Fn FD_ZERO
+macros conform with
+.St -p1003.1-2001 .
.Sh HISTORY
The
.Fn select
OpenPOWER on IntegriCloud