select.2 (108087) | select.2 (119893) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)select.2 8.2 (Berkeley) 3/25/94 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)select.2 8.2 (Berkeley) 3/25/94 |
33.\" $FreeBSD: head/lib/libc/sys/select.2 108087 2002-12-19 09:40:28Z ru $ | 33.\" $FreeBSD: head/lib/libc/sys/select.2 119893 2003-09-08 19:57:22Z ru $ |
34.\" 35.Dd November 17, 2002 36.Dt SELECT 2 37.Os 38.Sh NAME 39.Nm select 40.Nd synchronous I/O multiplexing 41.Sh LIBRARY --- 134 unchanged lines hidden (view full) --- 176is currently 1024. 177In order to accommodate programs which might potentially 178use a larger number of open files with 179.Fn select , 180it is possible 181to increase this size by having the program define 182.Dv FD_SETSIZE 183before the inclusion of any header which includes | 34.\" 35.Dd November 17, 2002 36.Dt SELECT 2 37.Os 38.Sh NAME 39.Nm select 40.Nd synchronous I/O multiplexing 41.Sh LIBRARY --- 134 unchanged lines hidden (view full) --- 176is currently 1024. 177In order to accommodate programs which might potentially 178use a larger number of open files with 179.Fn select , 180it is possible 181to increase this size by having the program define 182.Dv FD_SETSIZE 183before the inclusion of any header which includes |
184.Aq Pa sys/types.h . | 184.In sys/types.h . |
185.Pp 186If 187.Fa nfds 188is greater than the number of open files, 189.Fn select 190is not guaranteed to examine the unused file descriptors. For historical 191reasons, 192.Fn select --- 24 unchanged lines hidden --- | 185.Pp 186If 187.Fa nfds 188is greater than the number of open files, 189.Fn select 190is not guaranteed to examine the unused file descriptors. For historical 191reasons, 192.Fn select --- 24 unchanged lines hidden --- |