diff options
Diffstat (limited to 'lib/libc')
103 files changed, 424 insertions, 424 deletions
diff --git a/lib/libc/compat-43/gethostid.3 b/lib/libc/compat-43/gethostid.3 index 18a8f67253e..40b671a90e9 100644 --- a/lib/libc/compat-43/gethostid.3 +++ b/lib/libc/compat-43/gethostid.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: gethostid.3,v 1.5 1999/05/23 14:10:57 aaron Exp $ +.\" $OpenBSD: gethostid.3,v 1.6 1999/07/09 13:35:14 aaron Exp $ .\" .Dd June 2, 1993 .Dt GETHOSTID 3 @@ -69,7 +69,7 @@ The .Fn gethostid and .Fn sethostid -syscalls appeared in +syscalls appeared in .Bx 4.2 and were dropped in .Bx 4.4 . diff --git a/lib/libc/compat-43/setregid.3 b/lib/libc/compat-43/setregid.3 index cd02537374d..be3b4881e75 100644 --- a/lib/libc/compat-43/setregid.3 +++ b/lib/libc/compat-43/setregid.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: setregid.3,v 1.5 1999/07/07 14:22:24 aaron Exp $ +.\" $OpenBSD: setregid.3,v 1.6 1999/07/09 13:35:14 aaron Exp $ .\" .Dd March 10, 1991 .Dt SETREGID 3 @@ -52,7 +52,7 @@ Supplying a value of \-1 for either the real or effective group ID forces the system to substitute the current ID in place of the \-1 parameter. .Pp -The +The .Fn setregid function was intended to allow swapping the real and effective group IDs in set-group-ID programs to temporarily relinquish diff --git a/lib/libc/compat-43/setreuid.3 b/lib/libc/compat-43/setreuid.3 index 9261fbbcc30..7cf5169e203 100644 --- a/lib/libc/compat-43/setreuid.3 +++ b/lib/libc/compat-43/setreuid.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: setreuid.3,v 1.5 1999/07/07 14:22:24 aaron Exp $ +.\" $OpenBSD: setreuid.3,v 1.6 1999/07/09 13:35:14 aaron Exp $ .\" .Dd March 10, 1991 .Dt SETREUID 3 @@ -46,7 +46,7 @@ The real and effective user IDs of the current process are set according to the arguments. If .Fa ruid -or +or .Fa euid is \-1, the current UID is filled in by the system. Unprivileged users may change the real user diff --git a/lib/libc/compat-43/sigblock.3 b/lib/libc/compat-43/sigblock.3 index f3fc487a642..7689d03f184 100644 --- a/lib/libc/compat-43/sigblock.3 +++ b/lib/libc/compat-43/sigblock.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: sigblock.3,v 1.7 1999/05/25 01:50:57 aaron Exp $ +.\" $OpenBSD: sigblock.3,v 1.8 1999/07/09 13:35:15 aaron Exp $ .\" .Dd March 10, 1991 .Dt SIGBLOCK 3 @@ -55,7 +55,7 @@ adds the signals specified in to the set of signals currently being blocked from delivery. Signals are blocked if the -corresponding bit in +corresponding bit in .Fa mask is a 1; the macro .Fn sigmask diff --git a/lib/libc/compat-43/sigpause.3 b/lib/libc/compat-43/sigpause.3 index f1e7e06e4b1..19c11851822 100644 --- a/lib/libc/compat-43/sigpause.3 +++ b/lib/libc/compat-43/sigpause.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: sigpause.3,v 1.7 1999/07/07 14:22:24 aaron Exp $ +.\" $OpenBSD: sigpause.3,v 1.8 1999/07/09 13:35:15 aaron Exp $ .\" .Dd March 10, 1991 .Dt SIGPAUSE 3 @@ -46,7 +46,7 @@ .Xr sigsuspend 2 . .Pp .Fn sigpause -assigns +assigns .Fa sigmask to the set of masked signals and then waits for a signal to arrive; diff --git a/lib/libc/compat-43/sigsetmask.3 b/lib/libc/compat-43/sigsetmask.3 index 1f3c2154f4d..306a0860837 100644 --- a/lib/libc/compat-43/sigsetmask.3 +++ b/lib/libc/compat-43/sigsetmask.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: sigsetmask.3,v 1.7 1999/05/25 01:50:57 aaron Exp $ +.\" $OpenBSD: sigsetmask.3,v 1.8 1999/07/09 13:35:15 aaron Exp $ .\" .Dd March 10, 1991 .Dt SIGSETMASK 3 @@ -51,7 +51,7 @@ This interface is made obsoleted by: .Fn sigsetmask sets the current signal mask Signals are blocked from delivery if the -corresponding bit in +corresponding bit in .Fa mask is a 1; the macro .Fn sigmask diff --git a/lib/libc/compat-43/sigvec.3 b/lib/libc/compat-43/sigvec.3 index 0196ba53319..81ccf96491d 100644 --- a/lib/libc/compat-43/sigvec.3 +++ b/lib/libc/compat-43/sigvec.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: sigvec.3,v 1.13 1999/05/23 14:10:58 aaron Exp $ +.\" $OpenBSD: sigvec.3,v 1.14 1999/07/09 13:35:15 aaron Exp $ .\" .Dd April 29, 1991 .Dt SIGVEC 3 @@ -117,7 +117,7 @@ or .Xr sigsetmask call is made). This mask is formed by taking the union of the current signal mask, -the signal to be delivered, and +the signal to be delivered, and the signal mask associated with the handler to be invoked. .Pp .Fn sigvec diff --git a/lib/libc/crypt/arc4random.3 b/lib/libc/crypt/arc4random.3 index 988de1d0f67..b10115c4d88 100644 --- a/lib/libc/crypt/arc4random.3 +++ b/lib/libc/crypt/arc4random.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: arc4random.3,v 1.10 1999/07/04 18:59:42 aaron Exp $ +.\" $OpenBSD: arc4random.3,v 1.11 1999/07/09 13:35:15 aaron Exp $ .\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> .\" All rights reserved. .\" @@ -47,19 +47,19 @@ .Fn arc4random_addrandom "u_char *dat" "int datlen" .Sh DESCRIPTION The -.Fn arc4random +.Fn arc4random function uses the key stream generator employed by the arc4 cipher, which uses 8*8 8 bit S-Boxes. The S-Boxes can be in about (2**1700) states. .Pp The .Fn arc4random_stir -function reads data from +function reads data from .Pa /dev/arandom and uses it to permute the S-Boxes via .Fn arc4random_addrandom . .Pp -There is no need to call +There is no need to call .Fn arc4random_stir before using .Fn arc4random , @@ -72,7 +72,7 @@ automatically initializes itself. .Xr random 3 .Sh HISTORY An algorithm call -.Pa RC4 +.Pa RC4 was designed by RSA Data Security, Inc. It was considered a trade secret, but not trademarked. A clone of this was posted anonymously to the USENET and was confirmed to @@ -81,5 +81,5 @@ Because of the trade secret situation, RSA Data Security, Inc. can do nothing about the situation. Since .Pa RC4 -used to be a trade secret, the cipher is now referred to as +used to be a trade secret, the cipher is now referred to as .Pa ARC4 . diff --git a/lib/libc/crypt/blowfish.3 b/lib/libc/crypt/blowfish.3 index 0ab44d21d26..647c8cb6b20 100644 --- a/lib/libc/crypt/blowfish.3 +++ b/lib/libc/crypt/blowfish.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: blowfish.3,v 1.4 1999/05/23 14:10:58 aaron Exp $ +.\" $OpenBSD: blowfish.3,v 1.5 1999/07/09 13:35:15 aaron Exp $ .\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> .\" All rights reserved. .\" @@ -74,15 +74,15 @@ must be even. .Fn blf_dec is used for decrypting Blowfish encrypted blocks. .Pp -The functions +The functions .Fn blf_ecb_encrypt and -.Fn blf_ecb_decrypt +.Fn blf_ecb_decrypt are used for encrypting and decrypting octet streams in ECB mode. -The functions +The functions .Fn blf_cbc_encrypt and -.Fn blf_cbc_decrypt +.Fn blf_cbc_decrypt are used for encrypting and decrypting octet streams in Cipherblock Chaining Mode (CBC). .Pp diff --git a/lib/libc/crypt/crypt.3 b/lib/libc/crypt/crypt.3 index 239c9b30898..c22e4d21af5 100644 --- a/lib/libc/crypt/crypt.3 +++ b/lib/libc/crypt/crypt.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: crypt.3,v 1.12 1999/03/18 11:08:33 aaron Exp $ +.\" $OpenBSD: crypt.3,v 1.13 1999/07/09 13:35:15 aaron Exp $ .\" .\" FreeSec: libcrypt .\" @@ -94,42 +94,42 @@ and .Fa salt . .Ss "MD5" crypt: .Pp -For -.Tn MD5 -crypt the version number, -.Fa salt +For +.Tn MD5 +crypt the version number, +.Fa salt and the hashed password are separated by the ``$'' character. The maximum length of a password is limited by the length counter of the MD5 context, which is about -2**64. A valid MD5 password entry looks like this: +2**64. A valid MD5 password entry looks like this: .Pp ``$1$caeiHQwX$hsKqOjrFRRN6K32OWkCBf1''. .Pp -The whole MD5 password string is passed as +The whole MD5 password string is passed as .Fa setting for interpretation. .Ss "Blowfish" crypt: .Pp -The -.Tn Blowfish -version of crypt has 128 bits of -.Fa salt +The +.Tn Blowfish +version of crypt has 128 bits of +.Fa salt in order to make building dictionaries of common passwords space consuming. The initial state -of the -.Tn Blowfish -cipher is expanded using the +of the +.Tn Blowfish +cipher is expanded using the .Fa salt and the -.Fa password +.Fa password repeating the process a variable number of rounds, which is encoded in the password string. The maximum password length is 72. The final Blowfish password entry is created by encrypting -the string ``OrpheanBeholderScryDoubt'' with the -.Tn Blowfish +the string ``OrpheanBeholderScryDoubt'' with the +.Tn Blowfish state 64 times. .Pp -The version number, the logarithm of the number of rounds and +The version number, the logarithm of the number of rounds and the concatenation of salt and hashed password are separated by the ``$'' character. An encoded ``8'' would specify 256 rounds. @@ -137,7 +137,7 @@ A valid Blowfish password looks like this: .Pp ``$2a$12$eIAq8PR8sIUnJ1HaohxX2O9x9Qlm2vK97LJ5dsXdmB.eXF42qjchC''. .Pp -The whole Blowfish password string is passed as +The whole Blowfish password string is passed as .Fa setting for interpretation. .Ss "Traditional" crypt: @@ -285,13 +285,13 @@ first appeared in This library (FreeSec 1.0) was developed outside the United States of America as an unencumbered replacement for the U.S.-only libcrypt encryption library. -Programs linked against the +Programs linked against the .Fn crypt -interface may be exported from the U.S.A. only if they use +interface may be exported from the U.S.A. only if they use .Fn crypt solely for authentication purposes and avoid use of the other programmer interfaces listed above. Special care has been taken -in the library so that programs which only use the +in the library so that programs which only use the .Fn crypt interface do not pull in the other components. .Sh AUTHOR diff --git a/lib/libc/db/man/btree.3 b/lib/libc/db/man/btree.3 index 623c7c3341e..298f1b0e66f 100644 --- a/lib/libc/db/man/btree.3 +++ b/lib/libc/db/man/btree.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: btree.3,v 1.11 1999/07/07 10:50:04 aaron Exp $ +.\" $OpenBSD: btree.3,v 1.12 1999/07/09 13:35:15 aaron Exp $ .\" $NetBSD: btree.3,v 1.6 1996/05/03 21:26:48 cgd Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. @@ -59,7 +59,7 @@ associated key/data pairs. .Pp The btree access method specific data structure provided to .Fn dbopen -is defined in the +is defined in the .Em <db.h> include file as follows: .Pp @@ -188,7 +188,7 @@ is and a comparison routine is specified, no prefix comparison is done. .It lorder The byte order for integers in the stored database metadata. -The number should represent the order as an integer; for example, +The number should represent the order as an integer; for example, big endian order would be the number 4,321. If .Fa lorder diff --git a/lib/libc/db/man/hash.3 b/lib/libc/db/man/hash.3 index 05f7900e8e9..55492dd9564 100644 --- a/lib/libc/db/man/hash.3 +++ b/lib/libc/db/man/hash.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hash.3,v 1.8 1999/07/07 10:50:04 aaron Exp $ +.\" $OpenBSD: hash.3,v 1.9 1999/07/09 13:35:15 aaron Exp $ .\" $NetBSD: hash.3,v 1.6 1996/05/03 21:26:50 cgd Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. @@ -119,7 +119,7 @@ string and a length) and return a 32-bit quantity to be used as the hash value. .It lorder The byte order for integers in the stored database metadata. -The number should represent the order as an integer; for example, +The number should represent the order as an integer; for example, big endian order would be the number 4,321. If .Fa lorder is 0 (no order is specified) the current host order is used. diff --git a/lib/libc/db/man/ndbm.3 b/lib/libc/db/man/ndbm.3 index c235bca5d1b..60dcaba64c7 100644 --- a/lib/libc/db/man/ndbm.3 +++ b/lib/libc/db/man/ndbm.3 @@ -1,5 +1,5 @@ .\" David Leonard, 1998. Placed in the public domain. -.\" $OpenBSD: ndbm.3,v 1.8 1999/07/07 10:50:04 aaron Exp $ +.\" $OpenBSD: ndbm.3,v 1.9 1999/07/09 13:35:15 aaron Exp $ .Dd May 13, 1998 .Dt NDBM 3 .Os @@ -75,7 +75,7 @@ data with the key When storing, the .Fa store_mode parameter must be one of: -.Bl -tag -width DBM_REPLACE -offset indent +.Bl -tag -width DBM_REPLACE -offset indent .It Dv DBM_INSERT Only insert new keys into the database. Existing key/content pairs are untouched. diff --git a/lib/libc/db/man/recno.3 b/lib/libc/db/man/recno.3 index b69827e31b1..03dd057416c 100644 --- a/lib/libc/db/man/recno.3 +++ b/lib/libc/db/man/recno.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: recno.3,v 1.7 1999/07/07 10:50:04 aaron Exp $ +.\" $OpenBSD: recno.3,v 1.8 1999/07/09 13:35:15 aaron Exp $ .\" $NetBSD: recno.3,v 1.6 1996/05/03 21:26:51 cgd Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. @@ -63,7 +63,7 @@ record number five to be renumbered to record number four, as well as the cursor, if positioned after record number one, to shift down one record. .Pp -The +The .Nm access method specific data structure provided to .Fn dbopen diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3 index 9fd9fa6e044..c2f4bacbe43 100644 --- a/lib/libc/gen/alarm.3 +++ b/lib/libc/gen/alarm.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: alarm.3,v 1.6 1999/05/23 14:11:01 aaron Exp $ +.\" $OpenBSD: alarm.3,v 1.7 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -83,10 +83,10 @@ alarm. .Sh STANDARDS The .Fn alarm -function conforms to +function conforms to .St -p1003.1-90 . .Sh HISTORY An .Fn alarm -function appeared in +function appeared in .At v7 . diff --git a/lib/libc/gen/confstr.3 b/lib/libc/gen/confstr.3 index 5da41b75910..c76bc532cab 100644 --- a/lib/libc/gen/confstr.3 +++ b/lib/libc/gen/confstr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: confstr.3,v 1.9 1999/06/04 01:30:10 aaron Exp $ +.\" $OpenBSD: confstr.3,v 1.10 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -70,7 +70,7 @@ is a non-null pointer, and .Fa name has a value; up to .Fa len -\- 1 bytes of the value are copied into the buffer +\- 1 bytes of the value are copied into the buffer .Fa buf . The copied value is always null terminated. .Pp diff --git a/lib/libc/gen/daemon.3 b/lib/libc/gen/daemon.3 index 010b555c0e2..d00ac098e24 100644 --- a/lib/libc/gen/daemon.3 +++ b/lib/libc/gen/daemon.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: daemon.3,v 1.5 1999/04/02 16:21:35 aaron Exp $ +.\" $OpenBSD: daemon.3,v 1.6 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -67,7 +67,7 @@ may fail and set .Va errno for any of the errors specified for the library functions .Xr fork 2 -and +and .Xr setsid 2 . .Sh SEE ALSO .Xr fork 2 , diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3 index 95d85109f03..dea7a5f60c3 100644 --- a/lib/libc/gen/directory.3 +++ b/lib/libc/gen/directory.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: directory.3,v 1.9 1999/06/04 01:30:10 aaron Exp $ +.\" $OpenBSD: directory.3,v 1.10 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -113,7 +113,7 @@ are good only for the lifetime of the pointer, .Fa dirp , from which they are derived. -If the directory is closed and then reopened, the +If the directory is closed and then reopened, the .Fn telldir value may be invalidated due to undetected directory compaction. It is safe to use a previous diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3 index b31003fac7c..67b7e2aae4b 100644 --- a/lib/libc/gen/err.3 +++ b/lib/libc/gen/err.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: err.3,v 1.7 1999/07/02 16:57:48 aaron Exp $ +.\" $OpenBSD: err.3,v 1.8 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -91,7 +91,7 @@ and .Fn vwarn functions only, the error message string affiliated with the current value of the global variable -.Va errno +.Va errno is output. In all cases, the output is followed by a newline character. .Pp @@ -138,5 +138,5 @@ The .Fn err and .Fn warn -functions first appeared in +functions first appeared in .Bx 4.4 . diff --git a/lib/libc/gen/frexp.3 b/lib/libc/gen/frexp.3 index 8551fa6c324..a8b8d1f696c 100644 --- a/lib/libc/gen/frexp.3 +++ b/lib/libc/gen/frexp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: frexp.3,v 1.4 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: frexp.3,v 1.5 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -61,7 +61,7 @@ function returns the value .Li x , such that .Li x -is a +is a .Li double with magnitude in the interval .Bq 1/2 , 1 @@ -73,7 +73,7 @@ times 2 raised to the power .Fa *exp . If .Fa value -is zero, both parts of the result are zero. +is zero, both parts of the result are zero. .Sh SEE ALSO .Xr ldexp 3 , .Xr math 3 , diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3 index 59f4691abfc..953a378b3b2 100644 --- a/lib/libc/gen/fts.3 +++ b/lib/libc/gen/fts.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fts.3,v 1.12 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: fts.3,v 1.13 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -247,7 +247,7 @@ or .Fn fts_read functions, with its .Fa fts_info -field set to +field set to .Dv FTS_DNR , .Dv FTS_ERR or @@ -484,7 +484,7 @@ fields of the structures may .Em never be used in this comparison. -If the +If the .Fa fts_info field is set to .Dv FTS_NS diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3 index de9f6005b35..4c9fbf99cb2 100644 --- a/lib/libc/gen/getcap.3 +++ b/lib/libc/gen/getcap.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getcap.3,v 1.15 1999/07/02 16:57:48 aaron Exp $ +.\" $OpenBSD: getcap.3,v 1.16 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -35,7 +35,7 @@ .\" SUCH DAMAGE. .\" .Dd April 19, 1994 -.Dt GETCAP 3 +.Dt GETCAP 3 .Os .Sh NAME .Nm cgetent , @@ -82,10 +82,10 @@ file array .Fa db_array and returns a pointer to a copy of it in -.Fa buf . +.Fa buf . .Fn cgetent -will first look for files ending in -.Dq .db +will first look for files ending in +.Dq .db (see .Xr cap_mkdb 1 ) before accessing the @@ -102,35 +102,35 @@ and but may then be .Xr free Ns \&'d. On success 0 is returned, 1 if the returned -record contains an unresolved -.Ic tc +record contains an unresolved +.Ic tc expansion, \-1 if the requested record couldn't be found, \-2 if a system error occurred (couldn't open or read a file, for example) also setting -.Va errno , +.Va errno , and \-3 if a potential reference loop is detected (see .Ic tc= comments below). .Pp -.Fn cgetset +.Fn cgetset enables the addition of a character buffer containing a single capability record entry -to the capability database. +to the capability database. Conceptually, the entry is added as the first .Dq file in the database, and -is therefore searched first on the call to +is therefore searched first on the call to .Fn cgetent . -The entry is passed in +The entry is passed in .Fa ent . -If -.Fa ent +If +.Fa ent is .Dv NULL , -the current entry is removed from the database. -.Fn cgetset +the current entry is removed from the database. +.Fn cgetset must precede the database traversal. It must be called before .Fn cgetent . If a sequential access is being performed (see below), it must be called @@ -138,7 +138,7 @@ before the first sequential access call ( .Fn cgetfirst or .Fn cgetnext -), or be directly preceded by a +), or be directly preceded by a .Fn cgetclose call. On success 0 is returned and \-1 on failure. @@ -207,8 +207,8 @@ be found, or \-2 if a system error was encountered (storage allocation failure). .Pp .Fn cgetustr -is identical to -.Fn cgetstr +is identical to +.Fn cgetstr except that it does not expand special characters, but rather returns each character of the capability string literally. .Pp @@ -219,38 +219,38 @@ comprise a function group that provides for sequential access of the null-terminated array of file names, .Fa db_array . -.Fn cgetfirst +.Fn cgetfirst returns the first record in the database and resets the access to the first record. -.Fn cgetnext +.Fn cgetnext returns the next record in the database with respect to the record returned by the previous .Fn cgetfirst or -.Fn cgetnext +.Fn cgetnext call. If there is no such previous call, the first record in the database is returned. Each record is returned in a -.Xr malloc Ns \&'d -copy pointed to by -.Fa buf . +.Xr malloc Ns \&'d +copy pointed to by +.Fa buf . .Ic tc expansion is done (see -.Ic tc= +.Ic tc= comments below). Upon completion of the database 0 is returned, 1 is returned upon successful -return of record with possibly more remaining (we haven't reached the end of +return of record with possibly more remaining (we haven't reached the end of the database yet), 2 is returned if the record contains an unresolved -.Ic tc +.Ic tc expansion, \-1 is returned if an system error occurred, and \-2 -is returned if a potential reference loop is detected (see +is returned if a potential reference loop is detected (see .Ic tc= comments below). Upon completion of database (0 return) the database is closed. .Pp -.Fn cgetclose -closes the sequential access and frees any memory and file descriptors -being used. Note that it does not erase the buffer pushed by a call to +.Fn cgetclose +closes the sequential access and frees any memory and file descriptors +being used. Note that it does not erase the buffer pushed by a call to .Fn cgetset . .Ss Capability database syntax Capability databases are normally @@ -407,7 +407,7 @@ has value .Em number .It Em name No = Em string Ta "string capability" .Em name -has value +has value .Em string .It Em name No \&#@ Ta "the numeric capability" .Em name @@ -515,24 +515,24 @@ returns a character pointer on success and a on failure. .Pp .Fn cgetent -and +and .Fn cgetset -may fail and set +may fail and set .Va errno for any of the errors specified for the library functions -.Xr fopen 3 , +.Xr fopen 3 , .Xr fclose 3 , .Xr open 2 , -and +and .Xr close 2 . .Pp .Fn cgetent , .Fn cgetset , .Fn cgetstr , and -.Fn cgetustr -may fail and set -.Va errno +.Fn cgetustr +may fail and set +.Va errno as follows: .Bl -tag -width Er .It Bq Er ENOMEM @@ -551,6 +551,6 @@ There are no checks for loops in .Fn cgetent . .Pp -The buffer added to the database by a call to -.Fn cgetset +The buffer added to the database by a call to +.Fn cgetset is not unique to the database but is rather prepended to any database used. diff --git a/lib/libc/gen/getcwd.3 b/lib/libc/gen/getcwd.3 index e3f292d61e9..13f9b4641b7 100644 --- a/lib/libc/gen/getcwd.3 +++ b/lib/libc/gen/getcwd.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getcwd.3,v 1.6 1999/06/04 01:30:10 aaron Exp $ +.\" $OpenBSD: getcwd.3,v 1.7 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -140,7 +140,7 @@ allocate memory as necessary is an extension. .Sh HISTORY The .Fn getwd -function appeared in +function appeared in .Bx 4.0 . .Sh BUGS The diff --git a/lib/libc/gen/getdiskbyname.3 b/lib/libc/gen/getdiskbyname.3 index fcc27f34b20..170af443249 100644 --- a/lib/libc/gen/getdiskbyname.3 +++ b/lib/libc/gen/getdiskbyname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getdiskbyname.3,v 1.4 1999/05/29 19:11:11 aaron Exp $ +.\" $OpenBSD: getdiskbyname.3,v 1.5 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -50,7 +50,7 @@ takes a disk name (e.g., and returns a prototype disk label describing its geometry information and the standard disk partition tables. All information is obtained from -the +the .Xr disktab 5 file. .Sh SEE ALSO @@ -60,5 +60,5 @@ file. .Sh HISTORY The .Fn getdiskbyname -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3 index 923e84800e4..5ccb8701912 100644 --- a/lib/libc/gen/getdomainname.3 +++ b/lib/libc/gen/getdomainname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getdomainname.3,v 1.14 1999/06/04 01:30:10 aaron Exp $ +.\" $OpenBSD: getdomainname.3,v 1.15 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -53,7 +53,7 @@ previously set by .Fn setdomainname . The parameter .Fa namelen -specifies the size of the +specifies the size of the .Fa name array. If insufficient space is provided, the returned name is truncated. The returned name is always null terminated. diff --git a/lib/libc/gen/getfsent.3 b/lib/libc/gen/getfsent.3 index dd4fb08d633..cde6016b2a6 100644 --- a/lib/libc/gen/getfsent.3 +++ b/lib/libc/gen/getfsent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getfsent.3,v 1.5 1999/06/04 01:30:10 aaron Exp $ +.\" $OpenBSD: getfsent.3,v 1.6 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -128,13 +128,13 @@ file system table .Sh HISTORY The .Fn getfsent -function appeared in +function appeared in .Bx 4.0 ; the .Fn endfsent , .Fn getfsfile , .Fn getfsspec , -and +and .Fn setfsent functions appeared in .Bx 4.3 . diff --git a/lib/libc/gen/getgrent.3 b/lib/libc/gen/getgrent.3 index d2ecf6944da..ab1b7e8afd1 100644 --- a/lib/libc/gen/getgrent.3 +++ b/lib/libc/gen/getgrent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getgrent.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: getgrent.3,v 1.6 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -127,7 +127,7 @@ is reached or an error occurs a null pointer is returned. The .Fn setgroupent function returns the value 1 if successful, otherwise 0. -The +The .Fn endgrent and .Fn setgrent diff --git a/lib/libc/gen/getgrouplist.3 b/lib/libc/gen/getgrouplist.3 index cbd5409651d..eadb6ca2476 100644 --- a/lib/libc/gen/getgrouplist.3 +++ b/lib/libc/gen/getgrouplist.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getgrouplist.3,v 1.6 1999/06/03 10:03:21 aaron Exp $ +.\" $OpenBSD: getgrouplist.3,v 1.7 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -55,7 +55,7 @@ the group number from the password file. .Pp The resulting group list is returned in the integer array pointed to by .Fa groups . -The caller specifies the size of the +The caller specifies the size of the .Fa groups array in the integer pointed to by .Fa ngroups ; diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3 index 499e818b4f8..479e9257cc7 100644 --- a/lib/libc/gen/gethostname.3 +++ b/lib/libc/gen/gethostname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gethostname.3,v 1.14 1999/06/04 01:30:11 aaron Exp $ +.\" $OpenBSD: gethostname.3,v 1.15 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -52,7 +52,7 @@ processor, as previously set by .Fn sethostname . The parameter .Fa namelen -specifies the size of the +specifies the size of the .Fa name array. If insufficient space is provided, the returned name is truncated. The returned name is always null terminated. diff --git a/lib/libc/gen/getmntinfo.3 b/lib/libc/gen/getmntinfo.3 index 8e884bec209..90d6786237f 100644 --- a/lib/libc/gen/getmntinfo.3 +++ b/lib/libc/gen/getmntinfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getmntinfo.3,v 1.5 1999/05/16 19:54:52 alex Exp $ +.\" $OpenBSD: getmntinfo.3,v 1.6 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -69,20 +69,20 @@ The pointer to the array is stored into If an error occurs, zero is returned and the external variable .Va errno is set to indicate the error. -Although the pointer +Although the pointer .Fa mntbufp -will be unmodified, any information previously returned by +will be unmodified, any information previously returned by .Fn getmntinfo will be lost. .Sh ERRORS The .Fn getmntinfo function -may fail and set -.Va errno +may fail and set +.Va errno for any of the errors specified for the library routines .Xr getfsstat 2 -or +or .Xr malloc 3 . .Sh SEE ALSO .Xr getfsstat 2 , diff --git a/lib/libc/gen/getnetgrent.3 b/lib/libc/gen/getnetgrent.3 index d4868fa5e7c..9cd9dbaa70c 100644 --- a/lib/libc/gen/getnetgrent.3 +++ b/lib/libc/gen/getnetgrent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getnetgrent.3,v 1.9 1999/06/06 06:57:45 pjanzen Exp $ +.\" $OpenBSD: getnetgrent.3,v 1.10 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -41,7 +41,7 @@ .Nm endnetgrent .Nd netgroup database operations .Sh SYNOPSIS -.Fd #include <netgroup.h> +.Fd #include <netgroup.h> .Ft int .Fn getnetgrent "const char **host" "const char **user" "const char **domain" .Ft int diff --git a/lib/libc/gen/getpagesize.3 b/lib/libc/gen/getpagesize.3 index 0a40da96c4e..fad5ff1bc78 100644 --- a/lib/libc/gen/getpagesize.3 +++ b/lib/libc/gen/getpagesize.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpagesize.3,v 1.7 1999/05/29 19:11:11 aaron Exp $ +.\" $OpenBSD: getpagesize.3,v 1.8 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -47,8 +47,8 @@ This interface is obsoleted by .Xr sysconf 3 . Use .Fn sysconf _SC_PAGESIZE . -.Ef -.Pp +.Ef +.Pp The .Fn getpagesize function returns the number of bytes in a page. diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3 index 9331e76c940..e001e020150 100644 --- a/lib/libc/gen/getpwent.3 +++ b/lib/libc/gen/getpwent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpwent.3,v 1.8 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: getpwent.3,v 1.9 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -50,7 +50,7 @@ .Ft struct passwd * .Fn getpwnam "const char *login" .Ft struct passwd * -.Fn getpwuid "uid_t uid" +.Fn getpwuid "uid_t uid" .Ft int .Fn setpassent "int stayopen" .Ft void @@ -142,7 +142,7 @@ The function returns 0 on failure or 1 on success. The .Fn endpwent -and +and .Fn setpwent functions have no return value. diff --git a/lib/libc/gen/getusershell.3 b/lib/libc/gen/getusershell.3 index 78708e7886d..a45d724cdc2 100644 --- a/lib/libc/gen/getusershell.3 +++ b/lib/libc/gen/getusershell.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getusershell.3,v 1.6 1999/06/04 01:30:11 aaron Exp $ +.\" $OpenBSD: getusershell.3,v 1.7 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -52,9 +52,9 @@ The .Fn getusershell function returns a pointer to a legal user shell as defined by the -system manager in the file +system manager in the file .Pa /etc/shells . -If +If .Pa /etc/shells is unreadable or does not exist, .Fn getusershell @@ -87,7 +87,7 @@ returns a null pointer .Sh HISTORY The .Fn getusershell -function appeared in +function appeared in .Bx 4.3 . .Sh BUGS The diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3 index 3471f21e156..0c85a71c9c7 100644 --- a/lib/libc/gen/glob.3 +++ b/lib/libc/gen/glob.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: glob.3,v 1.11 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: glob.3,v 1.12 1999/07/09 13:35:16 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -44,7 +44,7 @@ .Fd #include <glob.h> .Ft int .Fn glob "const char *pattern" "int flags" "const int (*errfunc)(const char *, int)" "glob_t *pglob" -.Ft void +.Ft void .Fn globfree "glob_t *pglob" .Sh DESCRIPTION The @@ -91,7 +91,7 @@ field, and a pointer to a list of pointers to pathnames in the .Fa gl_pathv field. The first pointer after the last pathname is -.Dv NULL . +.Dv NULL . If the pattern does not match any pathnames, the returned number of matched paths is set to zero. .Pp @@ -219,29 +219,29 @@ This extension is provided to allow programs such as .Xr restore 8 to provide globbing from directories stored on tape. .It Dv GLOB_BRACE -Pre-process the pattern string to expand -.Ql {pat,pat,...} -strings like +Pre-process the pattern string to expand +.Ql {pat,pat,...} +strings like .Xr csh 1 . -The pattern +The pattern .Ql {} is left unexpanded for historical reasons. -.Xr (csh 1 -does the same thing to +.Xr (csh 1 +does the same thing to ease typing -of -.Xr find 1 +of +.Xr find 1 patterns.) .It Dv GLOB_MAGCHAR Set by the .Fn glob function if the pattern included globbing characters. -See the description of the usage of the +See the description of the usage of the .Fa gl_matchc structure member for more details. .It Dv GLOB_NOMAGIC -Is the same as -.Dv GLOB_NOCHECK +Is the same as +.Dv GLOB_NOCHECK but it only appends the .Fa pattern if it does not contain any of the special characters @@ -249,7 +249,7 @@ if it does not contain any of the special characters .Ql ? , or .Ql [ . -.Dv GLOB_NOMAGIC +.Dv GLOB_NOMAGIC is provided to simplify implementing the historic .Xr csh 1 globbing behavior and should probably not be used anywhere else. @@ -282,7 +282,7 @@ call to The error routine can suppress this action by testing for .Er ENOENT and -.Er ENOTDIR ; +.Er ENOTDIR ; however, the .Dv GLOB_ERR flag will still cause an immediate @@ -332,16 +332,16 @@ contain the values described below: .Bl -tag -width GLOB_NOCHECK .It Fa gl_pathc Contains the total number of matched pathnames so far. -This includes other matches from previous invocations of +This includes other matches from previous invocations of .Fn glob -if +if .Dv GLOB_APPEND was specified. .It Fa gl_matchc Contains the number of matched pathnames in the current invocation of .Fn glob . .It Fa gl_flags -Contains a copy of the +Contains a copy of the .Fa flags parameter with the bit .Dv GLOB_MAGCHAR @@ -365,9 +365,9 @@ are undefined. .Pp If .Fn glob -terminates due to an error, it sets -.Va errno -and returns one of the following non-zero constants, which are defined +terminates due to an error, it sets +.Va errno +and returns one of the following non-zero constants, which are defined in the include file .Aq Pa glob.h : .Bl -tag -width GLOB_NOCHECK @@ -427,9 +427,9 @@ Note, however, that the flags .Dv GLOB_QUOTE, and .Dv GLOB_TILDE, -and the fields +and the fields .Fa gl_matchc -and +and .Fa gl_flags should not be used by applications striving for strict standards conformance. @@ -438,7 +438,7 @@ The .Fn glob and .Fn globfree -functions first appeared in +functions first appeared in .Bx 4.4 . .Sh BUGS Patterns longer than @@ -447,8 +447,8 @@ may cause unchecked errors. .Pp The .Fn glob -function may fail and set -.Va errno +function may fail and set +.Va errno for any of the errors specified for the library routines .Xr stat 2 , .Xr closedir 3 , diff --git a/lib/libc/gen/initgroups.3 b/lib/libc/gen/initgroups.3 index 27916f64a60..ec2ff8105e1 100644 --- a/lib/libc/gen/initgroups.3 +++ b/lib/libc/gen/initgroups.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: initgroups.3,v 1.7 1999/06/03 10:03:21 aaron Exp $ +.\" $OpenBSD: initgroups.3,v 1.8 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -76,7 +76,7 @@ returns \-1 if it was not invoked by the super-user. .Sh HISTORY The .Fn initgroups -function appeared in +function appeared in .Bx 4.2 . .Sh BUGS The diff --git a/lib/libc/gen/isalnum.3 b/lib/libc/gen/isalnum.3 index 479380ad0e8..54b310a0e50 100644 --- a/lib/libc/gen/isalnum.3 +++ b/lib/libc/gen/isalnum.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isalnum.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isalnum.3,v 1.5 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -48,7 +48,7 @@ .Sh DESCRIPTION The .Fn isalnum -macro tests for any character for which +macro tests for any character for which .Xr isalpha 3 or .Xr isdigit 3 @@ -73,7 +73,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isalpha.3 b/lib/libc/gen/isalpha.3 index 4540663d02d..91da6e8fc81 100644 --- a/lib/libc/gen/isalpha.3 +++ b/lib/libc/gen/isalpha.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isalpha.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: isalpha.3,v 1.6 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -43,7 +43,7 @@ .Nd alphabetic character test .Sh SYNOPSIS .Fd #include <ctype.h> -.Ft int +.Ft int .Fn isalpha "int c" .Sh DESCRIPTION The @@ -88,7 +88,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isascii.3 b/lib/libc/gen/isascii.3 index 1d81875ce89..a8d4f3f5a76 100644 --- a/lib/libc/gen/isascii.3 +++ b/lib/libc/gen/isascii.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isascii.3,v 1.6 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isascii.3,v 1.7 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1989, 1991 The Regents of the University of California. .\" All rights reserved. @@ -68,7 +68,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isblank.3 b/lib/libc/gen/isblank.3 index 5c6164a5ae2..706f0c0b269 100644 --- a/lib/libc/gen/isblank.3 +++ b/lib/libc/gen/isblank.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isblank.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: isblank.3,v 1.6 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -81,6 +81,6 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 diff --git a/lib/libc/gen/iscntrl.3 b/lib/libc/gen/iscntrl.3 index fe47987fd65..1ade0167108 100644 --- a/lib/libc/gen/iscntrl.3 +++ b/lib/libc/gen/iscntrl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iscntrl.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: iscntrl.3,v 1.5 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -69,7 +69,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isdigit.3 b/lib/libc/gen/isdigit.3 index 49ba362d038..11caef61a6b 100644 --- a/lib/libc/gen/isdigit.3 +++ b/lib/libc/gen/isdigit.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isdigit.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isdigit.3,v 1.5 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -69,7 +69,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isgraph.3 b/lib/libc/gen/isgraph.3 index 2ee60fa4fd7..89dc7abaaa8 100644 --- a/lib/libc/gen/isgraph.3 +++ b/lib/libc/gen/isgraph.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isgraph.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isgraph.3,v 1.5 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -70,7 +70,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isinf.3 b/lib/libc/gen/isinf.3 index 8a24f7ecd5d..304d56d4023 100644 --- a/lib/libc/gen/isinf.3 +++ b/lib/libc/gen/isinf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isinf.3,v 1.5 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isinf.3,v 1.6 1999/07/09 13:35:17 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -40,9 +40,9 @@ .Nd test for infinity or not-a-number .Sh SYNOPSIS .Fd #include <math.h> -.Ft int +.Ft int .Fn isinf "double n" -.Ft int +.Ft int .Fn isnan "double n" .Sh DESCRIPTION The diff --git a/lib/libc/gen/islower.3 b/lib/libc/gen/islower.3 index 2ff33867aee..404936408ac 100644 --- a/lib/libc/gen/islower.3 +++ b/lib/libc/gen/islower.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: islower.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: islower.3,v 1.6 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -81,7 +81,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isprint.3 b/lib/libc/gen/isprint.3 index f6aa636f394..302836c7076 100644 --- a/lib/libc/gen/isprint.3 +++ b/lib/libc/gen/isprint.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isprint.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isprint.3,v 1.5 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -70,7 +70,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/ispunct.3 b/lib/libc/gen/ispunct.3 index 97c21c0e52e..518bdc35133 100644 --- a/lib/libc/gen/ispunct.3 +++ b/lib/libc/gen/ispunct.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ispunct.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: ispunct.3,v 1.5 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -73,7 +73,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isspace.3 b/lib/libc/gen/isspace.3 index 36a1bc5f839..d80ea80dbab 100644 --- a/lib/libc/gen/isspace.3 +++ b/lib/libc/gen/isspace.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isspace.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: isspace.3,v 1.6 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -94,7 +94,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isupper.3 b/lib/libc/gen/isupper.3 index e0edecc9c53..bdaf741f0ee 100644 --- a/lib/libc/gen/isupper.3 +++ b/lib/libc/gen/isupper.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isupper.3,v 1.5 1999/06/05 03:44:53 aaron Exp $ +.\" $OpenBSD: isupper.3,v 1.6 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -79,7 +79,7 @@ non-zero if the character tests true. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/isxdigit.3 b/lib/libc/gen/isxdigit.3 index ecb1ede4b41..63eec860c04 100644 --- a/lib/libc/gen/isxdigit.3 +++ b/lib/libc/gen/isxdigit.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isxdigit.3,v 1.4 1999/05/29 20:07:13 aaron Exp $ +.\" $OpenBSD: isxdigit.3,v 1.5 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" All rights reserved. @@ -69,7 +69,7 @@ non-zero if the character tests true. .Xr isupper 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS diff --git a/lib/libc/gen/modf.3 b/lib/libc/gen/modf.3 index 0d1a5dc0ff8..12af5486fbc 100644 --- a/lib/libc/gen/modf.3 +++ b/lib/libc/gen/modf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: modf.3,v 1.3 1999/06/05 03:44:54 aaron Exp $ +.\" $OpenBSD: modf.3,v 1.4 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -52,7 +52,7 @@ function breaks the argument .Fa value into integral and fractional parts, each of which has the same sign as the argument. -It stores the integral part as a +It stores the integral part as a .Li double in the object pointed to by .Fa iptr . diff --git a/lib/libc/gen/nice.3 b/lib/libc/gen/nice.3 index 49b266fcf30..1e514df3361 100644 --- a/lib/libc/gen/nice.3 +++ b/lib/libc/gen/nice.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nice.3,v 1.8 1999/06/03 10:13:29 aaron Exp $ +.\" $OpenBSD: nice.3,v 1.9 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -70,5 +70,5 @@ returns the same values as .Sh HISTORY A .Fn nice -syscall appeared in +syscall appeared in .At v6 . diff --git a/lib/libc/gen/pause.3 b/lib/libc/gen/pause.3 index 3d7844ee13f..6f52ebb1e80 100644 --- a/lib/libc/gen/pause.3 +++ b/lib/libc/gen/pause.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pause.3,v 1.6 1999/06/03 10:03:22 aaron Exp $ +.\" $OpenBSD: pause.3,v 1.7 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -84,5 +84,5 @@ The call was interrupted. A .Fn pause syscall -appeared in +appeared in .At v6 . diff --git a/lib/libc/gen/psignal.3 b/lib/libc/gen/psignal.3 index fbf8e8b04e5..455965e3c4e 100644 --- a/lib/libc/gen/psignal.3 +++ b/lib/libc/gen/psignal.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: psignal.3,v 1.6 1999/06/04 01:30:11 aaron Exp $ +.\" $OpenBSD: psignal.3,v 1.7 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -86,5 +86,5 @@ and .Sh HISTORY The .Fn psignal -function appeared in +function appeared in .Bx 4.2 . diff --git a/lib/libc/gen/pwcache.3 b/lib/libc/gen/pwcache.3 index e350587e558..a66dabacb93 100644 --- a/lib/libc/gen/pwcache.3 +++ b/lib/libc/gen/pwcache.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pwcache.3,v 1.6 1999/06/04 01:30:11 aaron Exp $ +.\" $OpenBSD: pwcache.3,v 1.7 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -49,7 +49,7 @@ The function returns the user name associated with the argument .Fa uid . The user name is cached so that multiple calls with the same -.Fa uid +.Fa uid do not require additional calls to .Xr getpwuid 3 . If there is no user associated with the diff --git a/lib/libc/gen/scandir.3 b/lib/libc/gen/scandir.3 index 0f50c78db5b..e53d4d48b9d 100644 --- a/lib/libc/gen/scandir.3 +++ b/lib/libc/gen/scandir.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: scandir.3,v 1.5 1999/06/03 10:03:22 aaron Exp $ +.\" $OpenBSD: scandir.3,v 1.6 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -106,5 +106,5 @@ The .Fn scandir and .Fn alphasort -functions appeared in +functions appeared in .Bx 4.2 . diff --git a/lib/libc/gen/setjmp.3 b/lib/libc/gen/setjmp.3 index 5cf0403a319..df0fc58d4f5 100644 --- a/lib/libc/gen/setjmp.3 +++ b/lib/libc/gen/setjmp.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setjmp.3,v 1.8 1999/06/06 06:57:45 pjanzen Exp $ +.\" $OpenBSD: setjmp.3,v 1.9 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -163,7 +163,7 @@ and .Fn longjmp functions conform to .St -ansiC . -The +The .Fn sigsetjmp and .Fn siglongjmp diff --git a/lib/libc/gen/setproctitle.3 b/lib/libc/gen/setproctitle.3 index 4eefb790427..37653d5e3cd 100644 --- a/lib/libc/gen/setproctitle.3 +++ b/lib/libc/gen/setproctitle.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setproctitle.3,v 1.7 1999/07/02 16:57:48 aaron Exp $ +.\" $OpenBSD: setproctitle.3,v 1.8 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1994, 1995 Christopher G. Demetriou .\" All rights reserved. @@ -71,5 +71,5 @@ setproctitle("foo! (%d)", getpid()); .Sh HISTORY The .Fn setproctitle -function first appeared in +function first appeared in .Nx 0.9a . diff --git a/lib/libc/gen/siginterrupt.3 b/lib/libc/gen/siginterrupt.3 index 86200e067c1..048310350c8 100644 --- a/lib/libc/gen/siginterrupt.3 +++ b/lib/libc/gen/siginterrupt.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: siginterrupt.3,v 1.7 1999/06/03 10:03:23 aaron Exp $ +.\" $OpenBSD: siginterrupt.3,v 1.8 1999/07/09 13:35:18 aaron Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -65,7 +65,7 @@ and no data has been transferred, the system call will return \-1 with the global variable .Va errno set to -.Er EINTR . +.Er EINTR . Interrupted system calls that have started transferring data will return the amount of data actually transferred. System call interrupt is the signal behavior found on @@ -108,5 +108,5 @@ specified. .Sh HISTORY The .Fn siginterrupt -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3 index 4cf084a1126..21f070bef6e 100644 --- a/lib/libc/gen/signal.3 +++ b/lib/libc/gen/signal.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: signal.3,v 1.11 1999/05/29 21:24:20 aaron Exp $ +.\" $OpenBSD: signal.3,v 1.12 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -158,7 +158,7 @@ automatically blocked and .Fa func is called. .Pp -The handled signal is unblocked when +The handled signal is unblocked when .Fa func returns and the process continues from where it left off when the signal occurred. @@ -199,7 +199,7 @@ function; ignored signals remain ignored. .Sh RETURN VALUES The previous action is returned on a successful call. -Otherwise, +Otherwise, .Fa SIG_ERR is returned and the global variable .Va errno @@ -231,5 +231,5 @@ or .Sh HISTORY This .Fn signal -facility appeared in +facility appeared in .Bx 4.0 . diff --git a/lib/libc/gen/sigsetops.3 b/lib/libc/gen/sigsetops.3 index 1f6a541fafc..61e1692fdf2 100644 --- a/lib/libc/gen/sigsetops.3 +++ b/lib/libc/gen/sigsetops.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sigsetops.3,v 1.5 1999/06/05 03:44:54 aaron Exp $ +.\" $OpenBSD: sigsetops.3,v 1.6 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -63,9 +63,9 @@ or must be called for every object of type .Li sigset_t before any other use of the object. -.Fn sigemptyset +.Fn sigemptyset and -.Fn sigfillset +.Fn sigfillset are provided as macros, but actual functions are available if their names are undefined (with #undef .Ar name ) . diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3 index e08222975d3..84c3d2c0d31 100644 --- a/lib/libc/gen/sleep.3 +++ b/lib/libc/gen/sleep.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sleep.3,v 1.5 1999/05/29 21:24:21 aaron Exp $ +.\" $OpenBSD: sleep.3,v 1.6 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -64,10 +64,10 @@ with other uses of .Fn sleep interferes with interval timers anymore). .Sh RETURN VALUE -If the +If the .Fn sleep function returns because the requested time has elapsed, the value -returned will be zero. If the +returned will be zero. If the .Fn sleep function returns due to the delivery of a signal, the value returned will be the unslept amount (the request time minus the time actually @@ -82,9 +82,9 @@ slept) in seconds. .Xr pause 3 , .Xr usleep 3 .Sh STANDARDS -The -.Fn sleep -function conforms to +The +.Fn sleep +function conforms to .St -p1003.1-90 . .Sh HISTORY A diff --git a/lib/libc/gen/sysconf.3 b/lib/libc/gen/sysconf.3 index 1221ec086af..ad432335843 100644 --- a/lib/libc/gen/sysconf.3 +++ b/lib/libc/gen/sysconf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysconf.3,v 1.10 1999/06/03 10:03:23 aaron Exp $ +.\" $OpenBSD: sysconf.3,v 1.11 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -118,7 +118,7 @@ The maximum number of repeated occurrences of a regular expression permitted when using interval notation. .It Li _SC_2_VERSION The version of POSIX 1003.2 with which the system attempts to comply. -.It Li _SC_2_C_BIND +.It Li _SC_2_C_BIND Return 1 if the system's C-language development facilities support the C-Language Bindings Option, otherwise \-1. .It Li _SC_2_C_DEV diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 2de353c1a90..8dd1f16e41e 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.26 1999/07/04 18:59:42 aaron Exp $ +.\" $OpenBSD: sysctl.3,v 1.27 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -51,7 +51,7 @@ The information available from .Fn sysctl consists of integers, strings, and tables. Information may be retrieved and set from the command interface -using the +using the .Xr sysctl 8 utility. .Pp @@ -90,7 +90,7 @@ and should be set to .Dv NULL . .Pp -The size of the available data can be determined by calling +The size of the available data can be determined by calling .Fn sysctl with a .Dv NULL @@ -171,9 +171,9 @@ Each time it runs, .Fn sysctl gets the list of debugging variables from the kernel and displays their current values. -The system defines twenty +The system defines twenty .Li struct ctldebug -variables named +variables named .Va debug0 through .Va debug19 . @@ -389,7 +389,7 @@ attempts to retrieve any of the .Dv KERN_PROF values will fail with .Er EOPNOTSUPP . -The third level names for the string and integer profiling information +The third level names for the string and integer profiling information is detailed below. The changeable column shows whether a process with appropriate privileges may change the value. @@ -484,7 +484,7 @@ privileges may change the value. Get or set various global information about the .Tn IP security protocols. -The third level name is the protocol. +The third level name is the protocol. The fourth level name is the variable name. The currently defined protocols and names are: .Bl -column "Protocol name" "Variable name" "integer" -offset indent diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3 index 68a12813529..3dc53dd111c 100644 --- a/lib/libc/gen/syslog.3 +++ b/lib/libc/gen/syslog.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: syslog.3,v 1.6 1999/06/06 06:57:45 pjanzen Exp $ +.\" $OpenBSD: syslog.3,v 1.7 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -142,7 +142,7 @@ cannot pass the message to .Xr syslogd it will attempt to write the message to the console .Pq Pa /dev/console . -.It Dv LOG_NDELAY +.It Dv LOG_NDELAY Open the connection to .Xr syslogd immediately. @@ -211,7 +211,7 @@ Similarly for .Dv LOG_LOCAL1 through .Dv LOG_LOCAL7 . -.El +.El .Pp The .Fn closelog @@ -267,5 +267,5 @@ syslog(LOG_INFO|LOG_LOCAL2, "foobar error: %m"); .Xr syslogd 8 .Sh HISTORY These -functions appeared in +functions appeared in .Bx 4.2 . diff --git a/lib/libc/gen/times.3 b/lib/libc/gen/times.3 index 669d4b4d1fc..eea2c3c513a 100644 --- a/lib/libc/gen/times.3 +++ b/lib/libc/gen/times.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: times.3,v 1.6 1999/06/05 03:44:54 aaron Exp $ +.\" $OpenBSD: times.3,v 1.7 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -39,7 +39,7 @@ .Nd process times .Sh SYNOPSIS .Fd #include <sys/times.h> -.Ft clock_t +.Ft clock_t .Fn times "struct tms *tp" .Sh DESCRIPTION .Bf -symbolic @@ -113,7 +113,7 @@ If an error occurs, .Fn times returns the value .Pq Em clock_t No - 1 , -and sets +and sets .Va errno to indicate the error. .Sh ERRORS diff --git a/lib/libc/gen/toascii.3 b/lib/libc/gen/toascii.3 index 88819a206ee..10d8fc88df7 100644 --- a/lib/libc/gen/toascii.3 +++ b/lib/libc/gen/toascii.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: toascii.3,v 1.4 1999/05/29 21:24:18 aaron Exp $ +.\" $OpenBSD: toascii.3,v 1.5 1999/07/09 13:35:19 aaron Exp $ .\" $NetBSD: toascii.3,v 1.2 1997/07/16 06:20:20 mikel Exp $ .\" .\" Copyright (c) 1993 @@ -68,6 +68,6 @@ function always returns a valid ASCII character. .Xr isupper 3 , .Xr isxdigit 3 , .Xr stdio 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 diff --git a/lib/libc/gen/tolower.3 b/lib/libc/gen/tolower.3 index 52e7e6669ae..bf67f324e80 100644 --- a/lib/libc/gen/tolower.3 +++ b/lib/libc/gen/tolower.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tolower.3,v 1.7 1999/05/29 20:07:14 aaron Exp $ +.\" $OpenBSD: tolower.3,v 1.8 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1989, 1991 The Regents of the University of California. .\" All rights reserved. @@ -68,7 +68,7 @@ If the argument to the .Fn _tolower function is an upper-case letter, the corresponding lower-case letter is returned; otherwise the output is undefined. -.\" In the +.\" In the .\" .Em ``C'' .\" locale, .\" .Fn tolower @@ -93,7 +93,7 @@ is returned; otherwise the output is undefined. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr toupper 3 , +.Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS The diff --git a/lib/libc/gen/toupper.3 b/lib/libc/gen/toupper.3 index 0fc16e18854..8ce6d914384 100644 --- a/lib/libc/gen/toupper.3 +++ b/lib/libc/gen/toupper.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: toupper.3,v 1.9 1999/05/29 20:07:14 aaron Exp $ +.\" $OpenBSD: toupper.3,v 1.10 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1989, 1991 The Regents of the University of California. .\" All rights reserved. @@ -76,7 +76,7 @@ is returned; otherwise the output is undefined. .\" .Xr islower .\" is true to the corresponding characters for which .\" .Xr isupper -.\" is true. +.\" is true. .Sh SEE ALSO .Xr isalnum 3 , .Xr isalpha 3 , @@ -93,7 +93,7 @@ is returned; otherwise the output is undefined. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr ascii 7 .Sh STANDARDS The diff --git a/lib/libc/gen/ttyname.3 b/lib/libc/gen/ttyname.3 index 706ec728153..fc9d5f9bc48 100644 --- a/lib/libc/gen/ttyname.3 +++ b/lib/libc/gen/ttyname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ttyname.3,v 1.8 1999/06/04 01:30:11 aaron Exp $ +.\" $OpenBSD: ttyname.3,v 1.9 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -58,7 +58,7 @@ type devices. These descriptors are not related to the standard typedef, but refer to the special device files found in .Pa /dev and named -.Pa /dev/tty Ns Em XX +.Pa /dev/tty Ns Em XX and for which an entry exists in the initialization file .Pa /etc/ttys @@ -85,7 +85,7 @@ is true. The .Fn ttyname_r function stores the null-terminated -pathname of the terminal associated with +pathname of the terminal associated with the file descriptor .Fa fd in the character array referenced by @@ -110,7 +110,7 @@ and functions return the null-terminated name if the device is found and .Fn isatty -is true; otherwise +is true; otherwise a null pointer is returned and .Dv errno is set to indicate the error. @@ -144,7 +144,7 @@ The .Fa fd argument does not refer to a terminal device. .It Bq Er ERANGE -The value of +The value of .Fa namesize is smaller than the length of the string to be returned including the terminating NUL character. diff --git a/lib/libc/gen/ualarm.3 b/lib/libc/gen/ualarm.3 index 7affd255ae8..b89f065fe17 100644 --- a/lib/libc/gen/ualarm.3 +++ b/lib/libc/gen/ualarm.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ualarm.3,v 1.10 1999/05/29 22:38:36 aaron Exp $ +.\" $OpenBSD: ualarm.3,v 1.11 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -39,7 +39,7 @@ .Nd schedule signal after specified time .Sh SYNOPSIS .Fd #include <unistd.h> -.Ft useconds_t +.Ft useconds_t .Fn ualarm "useconds_t microseconds" "useconds_t interval" .Sh DESCRIPTION .Bf -symbolic @@ -93,5 +93,5 @@ function conforms to .Sh HISTORY The .Fn ualarm -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libc/gen/unvis.3 b/lib/libc/gen/unvis.3 index 61e5f67fe11..84d7fcdcfe7 100644 --- a/lib/libc/gen/unvis.3 +++ b/lib/libc/gen/unvis.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: unvis.3,v 1.8 1999/07/02 20:58:00 aaron Exp $ +.\" $OpenBSD: unvis.3,v 1.9 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -40,9 +40,9 @@ .Nd decode a visual representation of characters .Sh SYNOPSIS .Fd #include <vis.h> -.Ft int +.Ft int .Fn unvis "char *cp" "char c" "int *astate" "int flag" -.Ft int +.Ft int .Fn strunvis "char *dst" "char *src" .Sh DESCRIPTION The @@ -57,7 +57,7 @@ function, back into the original form. .Fn unvis is called with successive characters in -.Fa c +.Fa c until a valid sequence is recognized, at which time the decoded character is available at the character pointed to by @@ -108,7 +108,7 @@ has several return codes that must be handled properly. They are: .Bl -tag -width UNVIS_VALIDPUSH .It Li \&0 (zero) Another character is necessary; nothing has been recognized yet. -.It Dv UNVIS_VALID +.It Dv UNVIS_VALID A valid character has been recognized and is available at the location pointed to by .Fa cp . diff --git a/lib/libc/gen/usleep.3 b/lib/libc/gen/usleep.3 index 76d7211ae63..4f1f2ecc7bb 100644 --- a/lib/libc/gen/usleep.3 +++ b/lib/libc/gen/usleep.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: usleep.3,v 1.9 1999/06/03 10:03:24 aaron Exp $ +.\" $OpenBSD: usleep.3,v 1.10 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -52,7 +52,7 @@ microseconds of time. System activity or time spent in processing the call may lengthen the sleep slightly. .Pp -This routine is implemented using +This routine is implemented using .Xr nanosleep 2 ; it requires one system call each time it is invoked. A similar but less compatible function can be obtained with a single @@ -64,12 +64,12 @@ with other uses of .Fn usleep interferes with interval timers anymore). .Sh RETURN VALUE -If the +If the .Fn usleep function returns because the requested time has elapsed, the value returned will be zero. .Pp -If the +If the .Fn usleep function returns due to the delivery of a signal, the value returned will be the \-1, and the global variable @@ -107,5 +107,5 @@ function conforms to .Sh HISTORY The .Fn usleep -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libc/gen/utime.3 b/lib/libc/gen/utime.3 index 0f48cdfb3ac..f73fcc22655 100644 --- a/lib/libc/gen/utime.3 +++ b/lib/libc/gen/utime.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: utime.3,v 1.10 1999/06/05 03:44:54 aaron Exp $ +.\" $OpenBSD: utime.3,v 1.11 1999/07/09 13:35:19 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -57,16 +57,16 @@ If is .Dv NULL , the access and modification times are set to the current time. -The calling process must be the owner of the file or have permission to +The calling process must be the owner of the file or have permission to write the file. .Pp -If +If .Fa timep is non-null -.Fa time +.Fa time is assumed to be a pointer to a .Li utimbuf -structure, as defined in +structure, as defined in .Aq Pa utime.h : .Bd -literal -offset indent struct utimbuf { @@ -81,11 +81,11 @@ member, and the modification time is set to the value of the .Fa modtime member. The times are measured in -seconds since 0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated +seconds since 0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated Universal Time (UTC). The calling process must be the owner of the file or be the super-user. .Pp -In either case, the inode change-time of the file is set to the current +In either case, the inode change-time of the file is set to the current time. .Sh RETURN VALUES Upon successful completion, a value of 0 is returned. diff --git a/lib/libc/gen/valloc.3 b/lib/libc/gen/valloc.3 index 7e2ce6e4425..3b22ff48113 100644 --- a/lib/libc/gen/valloc.3 +++ b/lib/libc/gen/valloc.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: valloc.3,v 1.7 1999/06/04 01:30:12 aaron Exp $ +.\" $OpenBSD: valloc.3,v 1.8 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -68,7 +68,7 @@ null pointer is returned. .Sh HISTORY The .Fn valloc -function appeared in +function appeared in .Bx 3.0 . .Sh BUGS A diff --git a/lib/libc/gen/vis.3 b/lib/libc/gen/vis.3 index 3548ca887b2..49d8e7ea422 100644 --- a/lib/libc/gen/vis.3 +++ b/lib/libc/gen/vis.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vis.3,v 1.8 1999/06/05 03:44:54 aaron Exp $ +.\" $OpenBSD: vis.3,v 1.9 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -43,9 +43,9 @@ .Fd #include <vis.h> .Ft char * .Fn vis "char *dst" "char c" "int flag" "char nextc" -.Ft int +.Ft int .Fn strvis "char *dst" "char *src" "int flag" -.Ft int +.Ft int .Fn strvisx "char *dst" "char *src" "int len" "int flag" .Sh DESCRIPTION The @@ -112,7 +112,7 @@ forms return the number of characters in (not including the trailing NUL). .Pp The encoding is a unique, invertible representation composed entirely of -graphic characters; it can be decoded back into the original form using +graphic characters; it can be decoded back into the original form using the .Xr unvis 3 or @@ -121,7 +121,7 @@ functions. .Pp There are two parameters that can be controlled: the range of characters that are encoded, and the type -of representation used. +of representation used. By default, all non-graphic characters. except space, tab, and newline are encoded (see @@ -131,25 +131,25 @@ alter this: .Bl -tag -width VIS_WHITEX .It Dv VIS_SP Also encode space. -.It Dv VIS_TAB +.It Dv VIS_TAB Also encode tab. .It Dv VIS_NL Also encode newline. -.It Dv VIS_WHITE +.It Dv VIS_WHITE Synonym for .Dv VIS_SP \&| .Dv VIS_TAB \&| .Dv VIS_NL . -.It Dv VIS_SAFE +.It Dv VIS_SAFE Only encode .Dq unsafe characters. These are control characters which may cause common terminals to perform unexpected functions. Currently this form allows space, tab, newline, backspace, bell, and return -- in addition -to all graphic characters -- unencoded. +to all graphic characters -- unencoded. .El .Pp There are three forms of encoding. diff --git a/lib/libc/gmon/moncontrol.3 b/lib/libc/gmon/moncontrol.3 index fe2b5d412fe..aea5995fbe3 100644 --- a/lib/libc/gmon/moncontrol.3 +++ b/lib/libc/gmon/moncontrol.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: moncontrol.3,v 1.3 1999/05/23 14:11:01 aaron Exp $ +.\" $OpenBSD: moncontrol.3,v 1.4 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -66,7 +66,7 @@ to resume the collection of histogram ticks and call counts use .Fn moncontrol 1 . This feature allows the cost of particular operations to be measured. Note that an output file will be produced on program exit -regardless of the state of +regardless of the state of .Fn moncontrol . .Pp Programs that are not loaded with @@ -82,7 +82,7 @@ the lowest address sampled is that of .Fa lowpc and the highest is just below .Fa highpc . -Only functions in that range that have been compiled with the +Only functions in that range that have been compiled with the .Fl pg option to .Xr cc 1 diff --git a/lib/libc/hash/rmd160.3 b/lib/libc/hash/rmd160.3 index 746459c2a38..9978b67e486 100644 --- a/lib/libc/hash/rmd160.3 +++ b/lib/libc/hash/rmd160.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rmd160.3,v 1.9 1999/07/07 10:50:04 aaron Exp $ +.\" $OpenBSD: rmd160.3,v 1.10 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -64,7 +64,7 @@ of a message called a message digest. The algorithm takes a message less than 2^64 bits as input and produces a 160-bit digest suitable for use as a digital signature. .Pp -The RMD160 functions are considered to be more secure than the +The RMD160 functions are considered to be more secure than the .Xr md4 3 and .Xr md5 3 @@ -96,7 +96,7 @@ and stores a message digest in the parameter. When a null pointer is passed to .Fn RMD160Final -as first argument only the final padding will be applied and the +as first argument only the final padding will be applied and the current context can still be used with .Fn RMD160Update . .Pp diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3 index 34fe47ec702..0e94679e93a 100644 --- a/lib/libc/hash/sha1.3 +++ b/lib/libc/hash/sha1.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha1.3,v 1.14 1999/07/07 10:50:04 aaron Exp $ +.\" $OpenBSD: sha1.3,v 1.15 1999/07/09 13:35:20 aaron Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -63,7 +63,7 @@ of a message called a message digest. The algorithm takes a message less than 2^64 bits as input and produces a 160-bit digest suitable for use as a digital signature. .Pp -The SHA1 functions are considered to be more secure than the +The SHA1 functions are considered to be more secure than the .Xr md4 3 and .Xr md5 3 @@ -93,7 +93,7 @@ and stores a message digest in the parameter. When a null pointer is passed to .Fn SHA1Final -as first argument only the final padding will be applied and the +as first argument only the final padding will be applied and the current context can still be used with .Fn SHA1Update . .Pp diff --git a/lib/libc/locale/nl_langinfo.3 b/lib/libc/locale/nl_langinfo.3 index 6931205bf82..a4364652a76 100644 --- a/lib/libc/locale/nl_langinfo.3 +++ b/lib/libc/locale/nl_langinfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nl_langinfo.3,v 1.4 1999/07/05 03:34:34 aaron Exp $ +.\" $OpenBSD: nl_langinfo.3,v 1.5 1999/07/09 13:35:20 aaron Exp $ .\" .\" Written by J.T. Conklin <jtc@netbsd.org>. .\" Public domain. @@ -17,12 +17,12 @@ .Sh DESCRIPTION The .Fn nl_langinfo -function returns a pointer to a string containing information +function returns a pointer to a string containing information set by the program's locale. .Pp The names and values of .Fa item -are defined in +are defined in .Aq Pa langinfo.h . .Sh RETURN VALUE .Fn nl_langinfo diff --git a/lib/libc/md/mdX.3 b/lib/libc/md/mdX.3 index 00718b52be1..68fe07d5507 100644 --- a/lib/libc/md/mdX.3 +++ b/lib/libc/md/mdX.3 @@ -6,7 +6,7 @@ .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp .\" ---------------------------------------------------------------------------- .\" -.\" $OpenBSD: mdX.3,v 1.11 1999/05/10 17:56:29 aaron Exp $ +.\" $OpenBSD: mdX.3,v 1.12 1999/07/09 13:35:14 aaron Exp $ .\" .Dd October 9, 1996 .Dt MDX 3 @@ -37,7 +37,7 @@ The MDX functions calculate a 128-bit cryptographic checksum (digest) for any number of input bytes. A cryptographic checksum is a one-way hash-function, that is, you cannot find (except by exhaustive search) -the input corresponding to a particular output. This net result is +the input corresponding to a particular output. This net result is a ``fingerprint'' of the input-data, which doesn't disclose the actual input. .Pp @@ -64,7 +64,7 @@ and finally extract the result using .Fn MDXFinal . When a null pointer is passed to .Fn MDXFinal -as first argument only the final padding will be applied and the +as first argument only the final padding will be applied and the current context can still be used with .Fn MDXUpdate . .Pp @@ -77,7 +77,7 @@ which converts the return value to a 33-character string which represents the 128 bits in hexadecimal. .Pp .Fn MDXFile -calculates the digest of a file, and uses +calculates the digest of a file, and uses .Fn MDXEnd to return the result. If the file cannot be opened, a null pointer is returned. @@ -91,7 +91,7 @@ When using .Fn MDXFile , or .Fn MDXData , -the +the .Ar buf argument can be a null pointer, in which case the returned string is allocated with @@ -99,7 +99,7 @@ is allocated with and subsequently must be explicitly deallocated using .Xr free 3 after use. -If the +If the .Ar buf argument is non-null it must point to at least 33 characters of buffer space. .Sh SEE ALSO @@ -121,7 +121,7 @@ argument is non-null it must point to at least 33 characters of buffer space. .%O RFC 1321 .Re .Rs -.%A RSA Laboratories +.%A RSA Laboratories .%T Frequently Asked Questions About today's Cryptography .%O \&<http://www.rsa.com/rsalabs/faq/> .Re @@ -156,7 +156,7 @@ These functions appeared in .Ox 2.0 . .Sh BUGS Hans Dobbertin has shown collisions for the full version of MD4 and -found a collision in the compress function of MD5. The use of SHA or +found a collision in the compress function of MD5. The use of SHA or RIPEMD-160 is recommended instead. .Pp MD2 has only been licensed for use in Privacy Enhanced Mail. diff --git a/lib/libc/regex/re_format.7 b/lib/libc/regex/re_format.7 index a91dbbc4809..3f2ff55ab09 100644 --- a/lib/libc/regex/re_format.7 +++ b/lib/libc/regex/re_format.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: re_format.7,v 1.6 1999/05/23 14:11:02 aaron Exp $ +.\" $OpenBSD: re_format.7,v 1.7 1999/07/09 13:35:22 aaron Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. .\" @@ -60,24 +60,24 @@ they will be discussed at the end. `\(dg' marks decisions on these aspects that may not be fully portable to other 1003.2 implementations. .Pp -A (modern) RE is one\(dg or more non-empty\(dg +A (modern) RE is one\(dg or more non-empty\(dg .Em branches , separated by `|'. It matches anything that matches one of the branches. .Pp -A branch is one\(dg or more +A branch is one\(dg or more .Em pieces , concatenated. It matches a match for the first, followed by a match for the second, etc. .Pp A piece is an .Em atom -possibly followed by a single\(dg `*', `+', `?', or +possibly followed by a single\(dg `*', `+', `?', or .Em bound . An atom followed by `*' matches a sequence of 0 or more matches of the atom. An atom followed by `+' matches a sequence of 1 or more matches of the atom. An atom followed by `?' matches a sequence of 0 or 1 matches of the atom. .Pp -A +A .Em bound is `{' followed by an unsigned decimal integer, possibly followed by `,' @@ -95,12 +95,12 @@ An atom followed by a bound containing two integers \fIi\fR and \fIj\fR matches a sequence of \fIi\fR through \fIj\fR (inclusive) matches of the atom. .Pp -An +An .Em atom is a regular expression enclosed in `()' (matching a match for the regular expression), an empty set of `()' (matching the null string)\(dg, -a +a .Em "bracket expression" (see below), `.' (matching any single character), `^' (matching the null string at the @@ -116,7 +116,7 @@ A `{' followed by a character other than a digit is an ordinary character, not the beginning of a bound\(dg. It is illegal to end an RE with `\e'. .Pp -A +A .Em "bracket expression" is a list of characters enclosed in `[]'. It normally matches any single character from the list (but see below). @@ -126,7 +126,7 @@ it matches any single character .Em not from the rest of the list. If two characters in the list are separated by `\-', this is shorthand -for the full +for the full .Em range of characters between those two (inclusive) in the collating sequence, @@ -152,7 +152,7 @@ or a collating-sequence name for either) enclosed in `[.' and `.]' stands for the sequence of characters of that collating element. The sequence is a single element of the bracket expression's list. -A bracket expression containing a multi-character collating element +A bracket expression containing a multi-character collating element can thus match more than one character, e.g. if the collating sequence includes a `ch' collating element, then the RE `[[.ch.]]*c' matches the first five characters @@ -168,7 +168,7 @@ then `[[=o=]]', `[[=\o'o^'=]]', and `[o\o'o^']' are all synonymous. An equivalence class may not\(dg be an endpoint of a range. .Pp -Within a bracket expression, the name of a +Within a bracket expression, the name of a .Em "character class" enclosed in `[:' and `:]' stands for the list of all characters belonging to that @@ -261,7 +261,7 @@ RE or\(dg the end of a parenthesized subexpression, and `*' is an ordinary character if it appears at the beginning of the RE or the beginning of a parenthesized subexpression (after a possible leading `^'). -Finally, there is one new type of atom, a +Finally, there is one new type of atom, a .Em "back reference" : `\e' followed by a non-zero decimal digit .Em d diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3 index fe81eff0779..3262a9e4b16 100644 --- a/lib/libc/regex/regex.3 +++ b/lib/libc/regex/regex.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: regex.3,v 1.10 1999/07/04 18:59:43 aaron Exp $ +.\" $OpenBSD: regex.3,v 1.11 1999/07/09 13:35:22 aaron Exp $ .\" .\" Copyright (c) 1997, Phillip F Knaack. All rights reserved. .\" @@ -550,7 +550,7 @@ REs are anchors, not ordinary characters. .Xr grep 1 , .Xr re_format 7 .Pp -POSIX 1003.2, sections 2.8 (Regular Expression Notation) +POSIX 1003.2, sections 2.8 (Regular Expression Notation) and B.5 (C Binding for Regular Expression Matching). .Sh DIAGNOSTICS @@ -620,7 +620,7 @@ exceeding 0 is expensive; .Fa nmatch exceeding 1 is worse. .Fn regexec -is largely insensitive to RE complexity +is largely insensitive to RE complexity .Em except that back references are massively expensive. RE length does matter; in particular, there is a strong speed bonus diff --git a/lib/libc/rpc/bindresvport.3 b/lib/libc/rpc/bindresvport.3 index 9d0ac2d6ad5..4960277753f 100644 --- a/lib/libc/rpc/bindresvport.3 +++ b/lib/libc/rpc/bindresvport.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bindresvport.3,v 1.10 1999/07/07 14:22:24 aaron Exp $ +.\" $OpenBSD: bindresvport.3,v 1.11 1999/07/09 13:35:22 aaron Exp $ .\" .Dd August 9, 1997 .Dt BINDRESVPORT 3 @@ -30,7 +30,7 @@ chooses another privileged port number automatically. .Sh RETURN VALUES .Fn bindresvport returns 0 if it is successful, otherwise \-1 is returned and -.Va errno +.Va errno set to reflect the cause of the error. .Sh ERRORS The diff --git a/lib/libc/rpc/getrpcent.3 b/lib/libc/rpc/getrpcent.3 index 3f5258fca9a..17ae973f9e3 100644 --- a/lib/libc/rpc/getrpcent.3 +++ b/lib/libc/rpc/getrpcent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getrpcent.3,v 1.4 1997/12/10 00:15:02 weingart Exp $ +.\" $OpenBSD: getrpcent.3,v 1.5 1999/07/09 13:35:22 aaron Exp $ .\" .Dd December 14, 1987 .Dt GETRPCENT 3 @@ -20,7 +20,7 @@ .Fn getrpcbynumber "int number" .Ft void .Fn setrpcent "int stayopen" -.Ft void +.Ft void .Fn endrpcent void .Sh DESCRIPTION .Fn getrpcent , @@ -58,9 +58,9 @@ opens and rewinds the file. If the .Fa stayopen flag is non-zero, the net data base will not be closed after each call to -.Fn getrpcent +.Fn getrpcent (either directly, or indirectly through one of -the other +the other .Dq getrpc calls). .Pp @@ -82,7 +82,7 @@ program number is found, or until end-of-file is encountered. .Sh DIAGNOSTICS A .Dv NULL -pointer is returned on +pointer is returned on .Dv EOF or error. .Sh BUGS diff --git a/lib/libc/rpc/xdr.3 b/lib/libc/rpc/xdr.3 index ce2ff42b6ff..570cfe00e0b 100644 --- a/lib/libc/rpc/xdr.3 +++ b/lib/libc/rpc/xdr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: xdr.3,v 1.11 1999/07/05 06:08:05 aaron Exp $ +.\" $OpenBSD: xdr.3,v 1.12 1999/07/09 13:35:22 aaron Exp $ .\" Mostly converted to mandoc by Theo de Raadt, Tue Feb 24 04:04:46 MST 1998 .\" .Dd February 16, 1988 @@ -434,7 +434,7 @@ stream, but never is a filter primitive that translates between C strings and their corresponding external representations. Strings cannot be longer than .Fa maxsize . -Note: +Note: .Fa sp is the address of the string's pointer. This routine returns one if it succeeds, zero otherwise. diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3 index ddd828f3ba7..351aee534fb 100644 --- a/lib/libc/stdio/ferror.3 +++ b/lib/libc/stdio/ferror.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ferror.3,v 1.3 1998/02/04 21:29:55 deraadt Exp $ +.\" $OpenBSD: ferror.3,v 1.4 1999/07/09 13:35:23 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -100,5 +100,5 @@ conform to .St -ansiC . The function .Fn fileno -conforms to +conforms to .St -p1003.1-90 . diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3 index 37472c9f104..5a64ff70208 100644 --- a/lib/libc/stdio/fgets.3 +++ b/lib/libc/stdio/fgets.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fgets.3,v 1.5 1999/05/25 13:06:46 aaron Exp $ +.\" $OpenBSD: fgets.3,v 1.6 1999/07/09 13:35:23 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -82,11 +82,11 @@ if any, is sufficiently short to fit in the string. .Sh RETURN VALUES Upon successful completion, .Fn fgets -and +and .Fn gets return a pointer to the string. -If end-of-file or an error occurs before any characters are read, +If end-of-file or an error occurs before any characters are read, they return .Dv NULL . The diff --git a/lib/libc/stdio/fseek.3 b/lib/libc/stdio/fseek.3 index cd695ec9e1d..ec46cdbdbd2 100644 --- a/lib/libc/stdio/fseek.3 +++ b/lib/libc/stdio/fseek.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fseek.3,v 1.3 1999/05/27 14:08:39 aaron Exp $ +.\" $OpenBSD: fseek.3,v 1.4 1999/07/09 13:35:23 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -67,7 +67,7 @@ The new position, measured in bytes, is obtained by adding .Fa offset bytes to the position specified by .Fa whence . -If +If .Fa whence is set to .Dv SEEK_SET , @@ -117,7 +117,7 @@ and (with whence set to .Dv SEEK_SET ), setting and storing the current value of -the file offset into or from the object referenced by +the file offset into or from the object referenced by .Fa pos . On some .Pq non- Ns Tn UNIX @@ -138,11 +138,11 @@ return 0, and .Fn ftell returns the current offset. -Otherwise, +Otherwise, .Fn fseek -returns \-1 and +returns \-1 and the others -return a nonzero value and the global variable +return a nonzero value and the global variable .Va errno is set to indicate the error. .Sh ERRORS @@ -155,7 +155,7 @@ is not a seekable stream. .It Bq Er EINVAL The .Fa whence -argument to +argument to .Fn fseek was not .Dv SEEK_SET , @@ -168,7 +168,7 @@ The function .Fn fgetpos , .Fn fseek , .Fn fsetpos , -and +and .Fn ftell may also fail and set .Va errno @@ -176,7 +176,7 @@ for any of the errors specified for the routines .Xr fflush 3 , .Xr fstat 2 , .Xr lseek 2 , -and +and .Xr malloc 3 . .Sh SEE ALSO .Xr lseek 2 diff --git a/lib/libc/stdio/funopen.3 b/lib/libc/stdio/funopen.3 index 268f415e939..8962b347ca2 100644 --- a/lib/libc/stdio/funopen.3 +++ b/lib/libc/stdio/funopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: funopen.3,v 1.7 1999/05/12 13:26:47 aaron Exp $ +.\" $OpenBSD: funopen.3,v 1.8 1999/07/09 13:35:23 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -55,7 +55,7 @@ The function associates a stream with up to four .Dq Tn I/O No functions . -Either +Either .Fa readfn or .Fa writefn @@ -70,7 +70,7 @@ close the new stream. .Pp In general, omitting a function means that any attempt to perform the associated operation on the resulting stream will fail. -If the close function is omitted, closing the stream will flush +If the close function is omitted, closing the stream will flush any buffered output and then succeed. .Pp The calling conventions of @@ -87,7 +87,7 @@ and .Xr close 2 with the exceptions that they are passed the .Fa cookie -argument specified to +argument specified to .Fn funopen in place of the traditional file descriptor argument and that the seek function takes an fpos_t argument and not an off_t @@ -111,7 +111,7 @@ Additionally, all of the functions should set the external variable .Va errno appropriately if an error occurs. .Pp -An error on +An error on .Fn closefn does not keep the stream open. .Pp @@ -125,7 +125,7 @@ as calls to .Fn funopen with only a read or write function specified. .Sh RETURN VALUES -Upon successful completion, +Upon successful completion, .Fn funopen returns a .Dv FILE diff --git a/lib/libc/stdio/remove.3 b/lib/libc/stdio/remove.3 index d4e08a93842..79bf9b8ba61 100644 --- a/lib/libc/stdio/remove.3 +++ b/lib/libc/stdio/remove.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: remove.3,v 1.6 1999/07/07 14:22:25 aaron Exp $ +.\" $OpenBSD: remove.3,v 1.7 1999/07/09 13:35:23 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -62,7 +62,7 @@ is the equivalent of Otherwise, it is the equivalent of .Fn unlink "path" . .Sh RETURN VALUES -Upon successful completion, +Upon successful completion, .Fn remove returns 0. Otherwise, \-1 is returned and the global variable diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3 index 77b59bc1dab..2f9c7c99ec3 100644 --- a/lib/libc/stdio/setbuf.3 +++ b/lib/libc/stdio/setbuf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setbuf.3,v 1.7 1999/05/23 14:11:02 aaron Exp $ +.\" $OpenBSD: setbuf.3,v 1.8 1999/07/09 13:35:23 aaron Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -66,7 +66,7 @@ output or input is read from any stream attached to a terminal device The function .Xr fflush 3 may be used to force the block out early. -(See +(See .Xr fclose 3 . ) .Pp Normally all files are block buffered. @@ -105,7 +105,7 @@ The parameter may be given as zero to obtain deferred optimal-size buffer allocation as usual. If it is not zero, -then except for unbuffered files, the +then except for unbuffered files, the .Fa buf argument should point to a buffer at least .Fa size @@ -132,7 +132,7 @@ but may have peculiar side effects (such as discarding input or flushing output) if the stream is ``active''. Portable applications should call it only once on any given stream, -and before any +and before any .Tn I/O is performed. .Pp diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3 index c9d1b2093ae..93886ed4b2e 100644 --- a/lib/libc/stdio/stdio.3 +++ b/lib/libc/stdio/stdio.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: stdio.3,v 1.9 1999/05/23 14:11:02 aaron Exp $ +.\" $OpenBSD: stdio.3,v 1.10 1999/07/09 13:35:23 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -111,10 +111,10 @@ At program startup, three streams are predefined and need not be opened explicitly: .Bl -bullet -compact -offset indent .It -.Em standard input +.Em standard input (for reading conventional input), .It -.Em standard output +.Em standard output (for writing conventional output), and .It .Em standard error diff --git a/lib/libc/stdio/tmpnam.3 b/lib/libc/stdio/tmpnam.3 index c2a71d55933..05307cf9b99 100644 --- a/lib/libc/stdio/tmpnam.3 +++ b/lib/libc/stdio/tmpnam.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmpnam.3,v 1.5 1999/02/27 21:55:50 deraadt Exp $ +.\" $OpenBSD: tmpnam.3,v 1.6 1999/07/09 13:35:23 aaron Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -95,7 +95,7 @@ In either case, .Fn tmpnam returns a pointer to the file name. .Pp -The buffer referenced by +The buffer referenced by .Fa s is expected to be at least .Dv L_tmpnam @@ -242,7 +242,7 @@ cannot depend on that. For these reasons, .Xr ld 8 will output a warning message whenever it links code that uses the -functions +functions .Fn tmpnam or .Fn tempnam . diff --git a/lib/libc/sys/msgget.2 b/lib/libc/sys/msgget.2 index fd056d449a9..ab7517404ff 100644 --- a/lib/libc/sys/msgget.2 +++ b/lib/libc/sys/msgget.2 @@ -1,5 +1,5 @@ -.\" $OpenBSD: msgget.2,v 1.7 1999/06/29 14:10:09 aaron Exp $ -.\" $NetBSD: msgget.2,v 1.1 1995/10/16 23:49:19 jtc Exp $ +.\" $OpenBSD: msgget.2,v 1.8 1999/07/09 13:35:21 aaron Exp $ +.\" $NetBSD: msgget.2,v 1.1 1995/10/16 23:49:19 jtc Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. diff --git a/lib/libc/sys/semop.2 b/lib/libc/sys/semop.2 index 7fb2d17ade3..eb1e4123f07 100644 --- a/lib/libc/sys/semop.2 +++ b/lib/libc/sys/semop.2 @@ -1,5 +1,5 @@ -.\" $OpenBSD: semop.2,v 1.7 1999/06/29 14:10:18 aaron Exp $ -.\" $NetBSD: semop.2,v 1.1 1995/10/16 23:49:28 jtc Exp $ +.\" $OpenBSD: semop.2,v 1.8 1999/07/09 13:35:21 aaron Exp $ +.\" $NetBSD: semop.2,v 1.1 1995/10/16 23:49:28 jtc Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden .\" All rights reserved. diff --git a/lib/libc/time/strftime.3 b/lib/libc/time/strftime.3 index 2e4495a350f..1fe3c1ac705 100644 --- a/lib/libc/time/strftime.3 +++ b/lib/libc/time/strftime.3 @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91 -.\" $OpenBSD: strftime.3,v 1.8 1999/07/02 17:04:16 aaron Exp $ +.\" $OpenBSD: strftime.3,v 1.9 1999/07/09 13:35:21 aaron Exp $ .\" .Dd January 18, 1998 .Dt STRFTIME 3 @@ -93,7 +93,7 @@ as a decimal number [00,99]. .It Cm \&%c is replaced by the locale's appropriate date and time representation. .It Cm \&%D -is replaced by the date in the format +is replaced by the date in the format .Dq Li %m/%d/%y . .It Cm \&%d is replaced by the day of the month as a decimal number [01,31]. @@ -123,7 +123,7 @@ is replaced by the month as a decimal number [01,12]. .It Cm %n is replaced by a newline. .It Cm %p -is replaced by the locale's equivalent of either +is replaced by the locale's equivalent of either .Dq Tn AM or .Dq Tn PM . @@ -131,7 +131,7 @@ or is replaced by the time in the format .Dq Li %H:%M . .It Cm \&%r -is replaced by the locale's representation of 12-hour clock time +is replaced by the locale's representation of 12-hour clock time using AM/PM notation. .It Cm \&%S is replaced by the second as a decimal number [00,61]. diff --git a/lib/libc/time/time2posix.3 b/lib/libc/time/time2posix.3 index 8babca3917b..55db815c8b5 100644 --- a/lib/libc/time/time2posix.3 +++ b/lib/libc/time/time2posix.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: time2posix.3,v 1.8 1999/05/25 00:49:41 aaron Exp $ +.\" $OpenBSD: time2posix.3,v 1.9 1999/07/09 13:35:21 aaron Exp $ .Dd May 24, 1999 .Dt TIME2POSIX 3 .Os @@ -30,8 +30,8 @@ however, no such adjustment is needed and .Fa time_t values continue to increase over leap events -.Po -as a true +.Po +as a true .Sq seconds since... value .Pc . @@ -72,7 +72,7 @@ and functions are provided to address this .Fa time_t mismatch by converting -between local +between local .Fa time_t values and their POSIX equivalents. This is done by accounting for the number of time-base changes that @@ -85,15 +85,15 @@ or when communicating with POSIX-compliant systems. .Fn time2posix is single-valued. That is, -every local +every local .Fa time_t -corresponds to a single POSIX +corresponds to a single POSIX .Fa time_t . .Fn posix2time is less well-behaved: for a positive leap second hit the result is not unique, and for a negative leap second hit the corresponding -POSIX +POSIX .Fa time_t doesn't exist so an adjacent value is returned. Both of these are good indicators of the inferiority of the diff --git a/lib/libc/time/tzfile.5 b/lib/libc/time/tzfile.5 index 9cc450aedab..5b5de5ae523 100644 --- a/lib/libc/time/tzfile.5 +++ b/lib/libc/time/tzfile.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tzfile.5,v 1.7 1999/05/25 00:49:42 aaron Exp $ +.\" $OpenBSD: tzfile.5,v 1.8 1999/07/09 13:35:21 aaron Exp $ .Dd May 24, 1999 .Dt TZFILE 5 .Os @@ -15,7 +15,7 @@ time zone information files, followed by sixteen bytes reserved for future use, followed by six four-byte values of type .Fa long -written in a +written in a .Dq standard byte order .Po diff --git a/lib/libc/time/tzset.3 b/lib/libc/time/tzset.3 index b6e91f71b94..daafc4533e7 100644 --- a/lib/libc/time/tzset.3 +++ b/lib/libc/time/tzset.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tzset.3,v 1.10 1999/05/25 00:55:57 aaron Exp $ +.\" $OpenBSD: tzset.3,v 1.11 1999/07/09 13:35:21 aaron Exp $ .Dd May 24, 1999 .Dt TZSET 3 .Os @@ -7,7 +7,7 @@ .Nd initialize time conversion information .Sh SYNOPSIS .Fd #include <time.h> -.Ft void +.Ft void .Fn tzset "void" .Sh DESCRIPTION .Fn tzset @@ -34,13 +34,13 @@ correction). .Pp If .Ev TZ -appears in the environment and its value begins with a colon, +appears in the environment and its value begins with a colon, it is used as a pathname of a file from which to read the time conversion information. .Pp If .Ev TZ -appears in the environment and its value does not begin with a colon, +appears in the environment and its value does not begin with a colon, it is first used as the pathname of a file from which to read the time conversion information, and, if that file cannot be read, is used directly as a specification of @@ -61,7 +61,7 @@ is used directly as a specification of the time conversion information, it must have the following syntax (spaces inserted for clarity): .Bd -ragged -offset indent .Ar std -.Ar offset +.Ar offset .Op Ar dst Op Ar offset .Op , Ar rule .Ed @@ -98,14 +98,14 @@ Coordinated Universal Time. has the form .Pq spaces inserted for clarity : .Bd -ragged -offset indent -.Ar hh +.Ar hh .Op : Ar mm Op : Ar ss .Ed .Pp The minutes .Pq Ar mm and seconds -.Pq Ar ss +.Pq Ar ss are optional. The hour .Pq Ar hh is required and may be a single digit. The @@ -130,11 +130,11 @@ Indicates when to change to and back from summer time. has the form (spaces added for clarity): .Pp .Bd -ragged -offset indent -.Ar date -/ -.Ar time , -.Ar date -/ +.Ar date +/ +.Ar time , +.Ar date +/ .Ar time .Ed .Pp @@ -171,7 +171,7 @@ The zero-based Julian day \&<\&= 365 .Pc . Leap days are counted, and it is possible to refer to February 29. -.It Xo M Ar m No . Ar n +.It Xo M Ar m No . Ar n .No . Ar d .Xc Day @@ -185,7 +185,7 @@ of week .Ar n .Po 1 \&<\&= -.Ar n +.Ar n \&<\&= 5 .Pc of month @@ -195,11 +195,11 @@ of month .Ar m \&<\&= 12 .Pc , -where week 5 means -.Do -the last -.Ar d -day in month +where week 5 means +.Do +the last +.Ar d +day in month .Ar m .Dc which may occur in either the fourth or the fifth week. Week 1 is the @@ -215,7 +215,7 @@ has the same format as except that no leading sign .Po .Dq \&- -or +or .Dq \&+ .Pc is allowed. The default, if @@ -242,7 +242,7 @@ values in .Ev TZ . .Pp For compatibility with System V Release 3.1, a semicolon -.Pq Sq \&; +.Pq Sq \&; may be used to separate the .Ar rule from the rest of the specification. diff --git a/lib/libc/time/zdump.8 b/lib/libc/time/zdump.8 index e2c9c956280..4d056d866c2 100644 --- a/lib/libc/time/zdump.8 +++ b/lib/libc/time/zdump.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: zdump.8,v 1.5 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: zdump.8,v 1.6 1999/07/09 13:35:21 aaron Exp $ .Dd May 23, 1999 .Dt ZDUMP 8 .Os @@ -9,7 +9,7 @@ .Nm zdump .Op Fl v .Op Fl c Ar cutoffyear -.Op Ar zonename Ar ... +.Op Ar zonename Ar ... .Sh DESCRIPTION .Nm prints the current time in each @@ -37,7 +37,7 @@ otherwise. Cut off the verbose output near the start of the given year. .El .Sh SEE ALSO -.Xr ctime 3 , -.Xr tzfile 5 , +.Xr ctime 3 , +.Xr tzfile 5 , .Xr zic 8 .\" @(#)zdump.8 7.3 diff --git a/lib/libc/time/zic.8 b/lib/libc/time/zic.8 index 2dbc8d20783..2cbc3356ccf 100644 --- a/lib/libc/time/zic.8 +++ b/lib/libc/time/zic.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: zic.8,v 1.8 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: zic.8,v 1.9 1999/07/09 13:35:21 aaron Exp $ .Dd May 23, 1999 .Dt ZIC 8 .Os @@ -380,7 +380,7 @@ the earliest transition time recorded in the compiled file is correct. standard directory used for created files .El .Sh SEE ALSO -.Xr ctime 3 , +.Xr ctime 3 , .Xr tzfile 5 , .Xr zdump 8 .\" @(#)zic.8 7.18 diff --git a/lib/libc/yp/ypclnt.3 b/lib/libc/yp/ypclnt.3 index 2f8391248e7..b1a13c38a0b 100644 --- a/lib/libc/yp/ypclnt.3 +++ b/lib/libc/yp/ypclnt.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ypclnt.3,v 1.8 1999/03/11 01:35:02 pjanzen Exp $ +.\" $OpenBSD: ypclnt.3,v 1.9 1999/07/09 13:35:21 aaron Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -121,7 +121,7 @@ All YP lookup calls (the functions .Fn yp_match , .Fn yp_next , .Fn yp_order ) -require a YP domain name and a YP map name. The default domain name may be +require a YP domain name and a YP map name. The default domain name may be obtained by calling .Fn yp_get_default_domain , and should thus be used before all other YP calls in a client program. |