mirror of https://github.com/mkerrisk/man-pages
select_tut.2: SYNOPSIS: defer to select(2), rather than repeating the same info
Remove the prototypes, which are detailed in select(2). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
095d8388cf
commit
b3b45b2b16
|
@ -34,37 +34,9 @@
|
|||
select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO \-
|
||||
synchronous I/O multiplexing
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
/* According to POSIX.1-2001, POSIX.1-2008 */
|
||||
.B #include <sys/select.h>
|
||||
.PP
|
||||
/* According to earlier standards */
|
||||
.B #include <sys/time.h>
|
||||
.B #include <sys/types.h>
|
||||
.B #include <unistd.h>
|
||||
.PP
|
||||
.BI "int select(int " nfds ", fd_set *" readfds ", fd_set *" writefds ,
|
||||
.BI " fd_set *" exceptfds ", struct timeval *" utimeout );
|
||||
.PP
|
||||
.BI "void FD_CLR(int " fd ", fd_set *" set );
|
||||
.BI "int FD_ISSET(int " fd ", fd_set *" set );
|
||||
.BI "void FD_SET(int " fd ", fd_set *" set );
|
||||
.BI "void FD_ZERO(fd_set *" set );
|
||||
|
||||
.B #include <sys/select.h>
|
||||
.PP
|
||||
.BI "int pselect(int " nfds ", fd_set *" readfds ", fd_set *" writefds ,
|
||||
.BI " fd_set *" exceptfds ", const struct timespec *" ntimeout ,
|
||||
.BI " const sigset_t *" sigmask );
|
||||
.fi
|
||||
.PP
|
||||
.in -4n
|
||||
Feature Test Macro Requirements for glibc (see
|
||||
.BR feature_test_macros (7)):
|
||||
.in
|
||||
.PP
|
||||
.BR pselect ():
|
||||
_POSIX_C_SOURCE\ >=\ 200112L
|
||||
See
|
||||
.BR select (2)
|
||||
.SH DESCRIPTION
|
||||
.BR select ()
|
||||
(or
|
||||
|
|
Loading…
Reference in New Issue