Clarify what happens if fd is set to -1
Submitted by: Alfred Perlstein <bright@rush.net>
This commit is contained in:
parent
893e0d6d36
commit
a9d802a64d
@ -1,5 +1,5 @@
|
|||||||
.\" $NetBSD: poll.2,v 1.3 1996/09/07 21:53:08 mycroft Exp $
|
.\" $NetBSD: poll.2,v 1.3 1996/09/07 21:53:08 mycroft Exp $
|
||||||
.\" $Id: poll.2,v 1.1 1997/09/14 05:44:35 peter Exp $
|
.\" $Id: poll.2,v 1.2 1998/06/04 21:05:45 steve Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1996 Charles M. Hannum. All rights reserved.
|
.\" Copyright (c) 1996 Charles M. Hannum. All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
@ -65,7 +65,9 @@ The fields of
|
|||||||
are as follows:
|
are as follows:
|
||||||
.Bl -tag -width XXXrevents
|
.Bl -tag -width XXXrevents
|
||||||
.It fd
|
.It fd
|
||||||
File descriptor to poll.
|
File descriptor to poll. If fd is equal to -1 then
|
||||||
|
.Fa revents
|
||||||
|
is cleared (set to zero), and that pollfd is not checked.
|
||||||
.It events
|
.It events
|
||||||
Events to poll for. (See below.)
|
Events to poll for. (See below.)
|
||||||
.It revents
|
.It revents
|
||||||
|
Loading…
x
Reference in New Issue
Block a user