Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Normalize the declarations of the FD_* "functio...



details:   https://anonhg.NetBSD.org/src/rev/f6a411a5f37d
branches:  trunk
changeset: 574529:f6a411a5f37d
user:      kleink <kleink%NetBSD.org@localhost>
date:      Thu Mar 03 20:49:47 2005 +0000

description:
Normalize the declarations of the FD_* "functions".

diffstat:

 lib/libc/sys/select.2 |  22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diffs (60 lines):

diff -r 6dc02e37f6c3 -r f6a411a5f37d lib/libc/sys/select.2
--- a/lib/libc/sys/select.2     Thu Mar 03 18:47:23 2005 +0000
+++ b/lib/libc/sys/select.2     Thu Mar 03 20:49:47 2005 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: select.2,v 1.25 2005/02/28 10:42:19 wiz Exp $
+.\"    $NetBSD: select.2,v 1.26 2005/03/03 20:49:47 kleink Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)select.2   8.2 (Berkeley) 3/25/94
 .\"
-.Dd February 28, 2005
+.Dd March 3, 2005
 .Dt SELECT 2
 .Os
 .Sh NAME
@@ -45,10 +45,10 @@
 .Fn select "int nfds" "fd_set *readfds" "fd_set *writefds" "fd_set *exceptfds" "struct timeval *timeout"
 .Ft int
 .Fn pselect "int nfds" "fd_set *readfds" "fd_set *writefds" "fd_set *exceptfds" "const struct timespec *timeout" "const sigset_t *sigmask"
-.Fn FD_SET fd \*[Am]fdset
-.Fn FD_CLR fd \*[Am]fdset
-.Fn FD_ISSET fd \*[Am]fdset
-.Fn FD_ZERO \*[Am]fdset
+.Fn FD_SET "int fd" "fd_set *fdset"
+.Fn FD_CLR "int fd" "fd_set *fdset"
+.Fn FD_ISSET "int fd" "fd_set *fdset"
+.Fn FD_ZERO "fd_set *fdset"
 .Sh DESCRIPTION
 .Fn select
 and
@@ -81,21 +81,21 @@
 .Pp
 The descriptor sets are stored as bit fields in arrays of integers.
 The following macros are provided for manipulating such descriptor sets:
-.Fn FD_ZERO \*[Am]fdset
-initializes a descriptor set
+.Fn FD_ZERO fdset
+initializes a descriptor set pointed to by
 .Fa fdset
 to the null set.
-.Fn FD_SET fd \*[Am]fdset
+.Fn FD_SET fd fdset
 includes a particular descriptor
 .Fa fd
 in
 .Fa fdset .
-.Fn FD_CLR fd \*[Am]fdset
+.Fn FD_CLR fd fdset
 removes
 .Fa fd
 from
 .Fa fdset .
-.Fn FD_ISSET fd \*[Am]fdset
+.Fn FD_ISSET fd fdset
 is non-zero if
 .Fa fd
 is a member of



Home | Main Index | Thread Index | Old Index