diff options
author | mike <mike@FreeBSD.org> | 2002-07-08 16:37:35 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-07-08 16:37:35 +0000 |
commit | 2363974e0c8427799636701e0abdf9f903a37253 (patch) | |
tree | d646705a81fac9fb2edf44af8e65b0607d752422 /lib | |
parent | 15fec8826f204426ea2047752753b76078c52730 (diff) | |
download | FreeBSD-src-2363974e0c8427799636701e0abdf9f903a37253.zip FreeBSD-src-2363974e0c8427799636701e0abdf9f903a37253.tar.gz |
Bring poll.h up to conformance with POSIX.1-2001 by adding some
visibility conditionals, adding the nfds_t type, and changing the
poll() prototype a little. Update the manual to match.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/poll.2 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2 index 04a91df..df306e7 100644 --- a/lib/libc/sys/poll.2 +++ b/lib/libc/sys/poll.2 @@ -28,7 +28,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 7, 1996 +.Dd July 8, 2002 .Dt POLL 2 .Os .Sh NAME @@ -37,10 +37,9 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/types.h .In poll.h .Ft int -.Fn poll "struct pollfd *fds" "unsigned int nfds" "int timeout" +.Fn poll "struct pollfd fds[]" "nfds_t nfds" "int timeout" .Sh DESCRIPTION .Fn Poll examines a set of file descriptors to see if some of them are ready for |