summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-11-17 16:34:07 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-11-17 16:34:07 +0000
commit4624c61c2d081c90b38ba135db5c8e57154a70e7 (patch)
treedc1fea6572f7be4187c71136c61f82d43f5d9562
parent3e372e140ccbaf30398e026cc45cffffc1aaa39a (diff)
Notes
-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 b0affba71ada..b3addb7317d0 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