From 6e674c0af0e05c6e705ccf2936c5d69a4b22ff61 Mon Sep 17 00:00:00 2001 From: mike Date: Sun, 17 Nov 2002 16:34:07 +0000 Subject: Update SYNOPSIS to reflect the standardized header. Add STANDARDS section. PR: 43270 --- lib/libc/sys/select.2 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'lib') 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 -- cgit v1.1