summaryrefslogtreecommitdiff
path: root/lib/libc/sys/select.2
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-02-27 12:31:34 +0000
committercgd <cgd@NetBSD.org>1995-02-27 12:31:34 +0000
commit4eab61bd40c07b2fc612ad50cface2b77fc110d0 (patch)
tree7118747f1d9919499fdea5d7c6908c5cfe04e5a8 /lib/libc/sys/select.2
parentc67e54a2e2b9f3d455a30d68ea4e09e56d7b9136 (diff)
merge with lite, keeping most local changes. clean up Ids
Diffstat (limited to 'lib/libc/sys/select.2')
-rw-r--r--lib/libc/sys/select.218
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2
index 502b80c8180..cf1826d6a6d 100644
--- a/lib/libc/sys/select.2
+++ b/lib/libc/sys/select.2
@@ -1,5 +1,7 @@
-.\" Copyright (c) 1983, 1991 The Regents of the University of California.
-.\" All rights reserved.
+.\" $NetBSD: select.2,v 1.4 1995/02/27 12:36:37 cgd Exp $
+.\"
+.\" Copyright (c) 1983, 1991, 1993
+.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -29,19 +31,18 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" from: @(#)select.2 6.8 (Berkeley) 3/10/91
-.\" $Id: select.2,v 1.3 1993/11/25 00:39:33 jtc Exp $
+.\" @(#)select.2 8.2 (Berkeley) 3/25/94
.\"
-.Dd March 10, 1991
+.Dd March 25, 1994
.Dt SELECT 2
.Os BSD 4.2
.Sh NAME
.Nm select
.Nd synchronous I/O multiplexing
.Sh SYNOPSIS
-.Fd #include <unistd.h>
.Fd #include <sys/types.h>
.Fd #include <sys/time.h>
+.Fd #include <unistd.h>
.Ft int
.Fn select "int nfds" "fd_set *readfds" "fd_set *writefds" "fd_set *exceptfds" "struct timeval *timeout"
.Fn FD_SET fd &fdset
@@ -145,11 +146,12 @@ negative or too large.
.Sh SEE ALSO
.Xr accept 2 ,
.Xr connect 2 ,
+.Xr getdtablesize 2 ,
+.Xr gettimeofday 2 ,
.Xr read 2 ,
-.Xr write 2 ,
.Xr recv 2 ,
.Xr send 2 ,
-.Xr getdtablesize 2
+.Xr write 2
.Sh BUGS
Although the provision of
.Xr getdtablesize 2