diff options
author | billf <billf@FreeBSD.org> | 1999-06-29 16:32:22 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-06-29 16:32:22 +0000 |
commit | a9d802a64d3407325930af13170cf26938f90c33 (patch) | |
tree | 96295d4b7d86c380e3b24f34d9fad5c86889da3e /lib/libc | |
parent | 893e0d6d36b7015649b0943f6955688c66c356d5 (diff) | |
download | FreeBSD-src-a9d802a64d3407325930af13170cf26938f90c33.zip FreeBSD-src-a9d802a64d3407325930af13170cf26938f90c33.tar.gz |
Clarify what happens if fd is set to -1
Submitted by: Alfred Perlstein <bright@rush.net>
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/poll.2 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2 index 0ebcb74..1f5248b 100644 --- a/lib/libc/sys/poll.2 +++ b/lib/libc/sys/poll.2 @@ -1,5 +1,5 @@ .\" $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. .\" @@ -65,7 +65,9 @@ The fields of are as follows: .Bl -tag -width XXXrevents .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 Events to poll for. (See below.) .It revents |