diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-09 13:36:00 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-09 13:36:00 +0000 |
commit | 078c2448197a826265f74828b3159d758f1f0ceb (patch) | |
tree | ef3b0d7b2b6fcf1328ac8953d9e2abf6431093ea /lib | |
parent | 3610cb2f5b1eeb5e599fcca418780b43c2f30b6d (diff) |
- remove all trailing whitespace
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages
Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...
Diffstat (limited to 'lib')
180 files changed, 747 insertions, 747 deletions
diff --git a/lib/libarch/i386/i386_get_ioperm.2 b/lib/libarch/i386/i386_get_ioperm.2 index 1c5c6772dcd..6d77be8b50a 100644 --- a/lib/libarch/i386/i386_get_ioperm.2 +++ b/lib/libarch/i386/i386_get_ioperm.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: i386_get_ioperm.2,v 1.6 1999/07/07 14:22:24 aaron Exp $ +.\" $OpenBSD: i386_get_ioperm.2,v 1.7 1999/07/09 13:35:14 aaron Exp $ .\" $NetBSD: i386_get_ioperm.2,v 1.3 1996/02/27 22:57:17 jtc Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -59,7 +59,7 @@ sets the I/O permission bitmap from the data pointed to by .Ar iomap . This call is restricted to the super-user. .Pp -The permission bitmap contains +The permission bitmap contains 1024 bits in 32 longwords. If bit @@ -101,7 +101,7 @@ allocation in a kernel structure. If you need access to ports beyond use .Xr i386_iopl 2 . .Sh SEE ALSO -.Xr i386_iopl 2 +.Xr i386_iopl 2 .Sh REFERENCES i386 Microprocessor Programmer's Reference Manual, Intel .Sh WARNING diff --git a/lib/libarch/i386/i386_get_ldt.2 b/lib/libarch/i386/i386_get_ldt.2 index 05d7888d8b6..10cb98439ed 100644 --- a/lib/libarch/i386/i386_get_ldt.2 +++ b/lib/libarch/i386/i386_get_ldt.2 @@ -57,7 +57,7 @@ LDT. Both routines accept a starting selector number .Fa start_sel , an array of memory that -will contain the descriptors to be set or returned +will contain the descriptors to be set or returned .Fa descs , and the number of entries to set or return .Fa num_sels . diff --git a/lib/libarch/i386/i386_vm86.2 b/lib/libarch/i386/i386_vm86.2 index 2ef617df3af..e24cd47d997 100644 --- a/lib/libarch/i386/i386_vm86.2 +++ b/lib/libarch/i386/i386_vm86.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: i386_vm86.2,v 1.4 1999/07/07 14:22:24 aaron Exp $ +.\" $OpenBSD: i386_vm86.2,v 1.5 1999/07/09 13:35:14 aaron Exp $ .\" $NetBSD: i386_vm86.2,v 1.1 1996/02/21 00:21:52 jtk Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -17,10 +17,10 @@ .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: -.\" This product includes software developed by the NetBSD +.\" This product includes software developed by the NetBSD .\" Foundation, Inc. and its contributors. -.\" 4. Neither the name of The NetBSD Foundation nor the names of its -.\" contributors may be used to endorse or promote products derived +.\" 4. Neither the name of The NetBSD Foundation nor the names of its +.\" contributors may be used to endorse or promote products derived .\" from this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS @@ -56,16 +56,16 @@ will set the process into virtual 8086 mode using the registers and selectors specified by the context pointed to by .Ar vmcp . -The processor registers are set from +The processor registers are set from .Ar vmcp->substr.regs , -and the emulated processor type from +and the emulated processor type from .Ar vmcp->substr.ss_cpu_type . .Pp The kernel keeps a pointer to the context, and uses the tables stored at .Ar vmcp->int_byuser and .Ar vmcp->int21_byuser -for fast virtual interrupt handling. If the +for fast virtual interrupt handling. If the .Ar n th bit is clear in the first of these arrays, then the kernel may directly emulate the real-mode x86 INT 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. diff --git a/lib/libc_r/man/pread.3 b/lib/libc_r/man/pread.3 index 3262800cf38..c4f151650ab 100644 --- a/lib/libc_r/man/pread.3 +++ b/lib/libc_r/man/pread.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pread.3,v 1.6 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: pread.3,v 1.7 1999/07/09 13:35:25 aaron Exp $ .\" David Leonard <d@openbsd.org>, 1998. Public domain. .Dd September 7, 1998 .Dt PREAD 3 @@ -21,7 +21,7 @@ in the file opened on file descriptor .Fa filedes. .Pp This function is provided for use in a threaded, parallel I/O -environment, where race conditions may exist between two threads +environment, where race conditions may exist between two threads non-atomically seeking and reading from the same file descriptor. .Sh RETURN VALUES The diff --git a/lib/libc_r/man/pthread_detach.3 b/lib/libc_r/man/pthread_detach.3 index 8fdebe5c6a1..ca62e49ea2c 100644 --- a/lib/libc_r/man/pthread_detach.3 +++ b/lib/libc_r/man/pthread_detach.3 @@ -48,7 +48,7 @@ can be reclaimed when the thread terminates. If .Fa thread has not terminated, .Fn pthread_detach -will not cause it to terminate. The effect of multiple +will not cause it to terminate. The effect of multiple .Fn pthread_detach calls on the same target thread is unspecified. .Sh RETURN VALUES diff --git a/lib/libc_r/man/pthread_exit.3 b/lib/libc_r/man/pthread_exit.3 index a6016203c97..d12b2290d02 100644 --- a/lib/libc_r/man/pthread_exit.3 +++ b/lib/libc_r/man/pthread_exit.3 @@ -68,7 +68,7 @@ is undefied if called from a cancellation handler or destructor function that was invoked as the result of an implicit or explicit call to .Fn pthread_exit . .Pp -After a thread has terminated, the result of access to local (auto) +After a thread has terminated, the result of access to local (auto) variables of the thread is undefined. Thus, references to local variables of the exiting thread should not be used for the .Fn pthread_exit diff --git a/lib/libc_r/man/pthread_once.3 b/lib/libc_r/man/pthread_once.3 index f33a6901f6b..2454d61dd92 100644 --- a/lib/libc_r/man/pthread_once.3 +++ b/lib/libc_r/man/pthread_once.3 @@ -71,7 +71,7 @@ The function is not a cancellation point. However, if .Fn init_routine is a cancellation point and is cancelled, the effect on -.Fa once_control is as if +.Fa once_control is as if .Fn pthread_once was never called. .Pp diff --git a/lib/libc_r/man/pthread_rwlock_destroy.3 b/lib/libc_r/man/pthread_rwlock_destroy.3 index 8a3fa008de0..3ad133ff3aa 100644 --- a/lib/libc_r/man/pthread_rwlock_destroy.3 +++ b/lib/libc_r/man/pthread_rwlock_destroy.3 @@ -22,8 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: pthread_rwlock_destroy.3,v 1.3 1999/05/14 21:03:31 alex Exp $ -.\" $OpenBSD: pthread_rwlock_destroy.3,v 1.3 1999/05/14 21:03:31 alex Exp $ +.\" $Id: pthread_rwlock_destroy.3,v 1.4 1999/07/09 13:35:25 aaron Exp $ +.\" $OpenBSD: pthread_rwlock_destroy.3,v 1.4 1999/07/09 13:35:25 aaron Exp $ .\" .Dd August 4, 1998 .Dt PTHREAD_RWLOCK_DESTROY 3 @@ -38,7 +38,7 @@ .Sh DESCRIPTION The .Fn pthread_rwlock_destroy -function is used to destroy a read/write lock previously created with +function is used to destroy a read/write lock previously created with .Fn pthread_rwlock_init . .Sh RETURN VALUES If successful, the diff --git a/lib/libc_r/man/pthread_rwlockattr_destroy.3 b/lib/libc_r/man/pthread_rwlockattr_destroy.3 index 9dfe3718994..41a04620933 100644 --- a/lib/libc_r/man/pthread_rwlockattr_destroy.3 +++ b/lib/libc_r/man/pthread_rwlockattr_destroy.3 @@ -22,8 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: pthread_rwlockattr_destroy.3,v 1.3 1999/05/14 21:03:32 alex Exp $ -.\" $OpenBSD: pthread_rwlockattr_destroy.3,v 1.3 1999/05/14 21:03:32 alex Exp $ +.\" $Id: pthread_rwlockattr_destroy.3,v 1.4 1999/07/09 13:35:25 aaron Exp $ +.\" $OpenBSD: pthread_rwlockattr_destroy.3,v 1.4 1999/07/09 13:35:25 aaron Exp $ .\" .Dd August 4, 1998 .Dt PTHREAD_RWLOCKATTR_DESTROY 3 @@ -39,7 +39,7 @@ The .Fn pthread_rwlockattr_destroy function is used to destroy a read/write lock attribute object -previously created with +previously created with .Fn pthread_rwlockattr_init . .Sh RETURN VALUES If successful, the diff --git a/lib/libc_r/man/pthread_single_np.3 b/lib/libc_r/man/pthread_single_np.3 index ed24ab68eab..80f6ff8b4c0 100644 --- a/lib/libc_r/man/pthread_single_np.3 +++ b/lib/libc_r/man/pthread_single_np.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pthread_single_np.3,v 1.2 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: pthread_single_np.3,v 1.3 1999/07/09 13:35:25 aaron Exp $ .\" David Leonard <d@openbsd.org>, 1999. Public domain. .Dd March 21, 1999 .Dt PTHREAD_SINGLE_NP 3 @@ -17,12 +17,12 @@ .Sh DESCRIPTION The .Fn pthread_single_np -function causes the process to +function causes the process to enter single-threaded (non-POSIX) scheduling mode. .Pp The .Fn pthread_multi_np -function causes the process to +function causes the process to return to multi-threaded scheduling mode. .Sh RETURN VALUES The diff --git a/lib/libc_r/man/pthread_testcancel.3 b/lib/libc_r/man/pthread_testcancel.3 index a6a0093f915..aaf37e26acc 100644 --- a/lib/libc_r/man/pthread_testcancel.3 +++ b/lib/libc_r/man/pthread_testcancel.3 @@ -36,7 +36,7 @@ to the indicated .Fa type and returns the previous cancelability type at the location referenced by .Fa oldtype . -Legal values for +Legal values for .Fa type are .Dv PTHREAD_CANCEL_DEFERRED @@ -81,7 +81,7 @@ cancellation requests are held pending until a cancellation point (see below) is reached. If cancelability is disabled, the setting of the cancelability type has no immediate effect as all cancellation requests are held pending; however, once cancelability is enabled again the new -type will be in effect. +type will be in effect. .El .Ss Cancellation Points Cancellation points will occur when a thread is executing the following @@ -120,7 +120,7 @@ The .Fn pthread_setcancelstate and .Fn pthread_setcanceltype -functions are used to control the points at which a thread may be +functions are used to control the points at which a thread may be asynchronously canceled. For cancellation control to be usable in modular fashion, some rules must be followed. .Pp diff --git a/lib/libc_r/man/pthreads.3 b/lib/libc_r/man/pthreads.3 index e6887d9166d..774d56b7c53 100644 --- a/lib/libc_r/man/pthreads.3 +++ b/lib/libc_r/man/pthreads.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pthreads.3,v 1.5 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: pthreads.3,v 1.6 1999/07/09 13:35:24 aaron Exp $ .\" David Leonard <d@openbsd.org>, 1998. Public domain. .Dd August 17, 1998 .Dt PTHREADS 3 @@ -182,7 +182,7 @@ to alter the process virtual timer will have undefined effects. The .Dv SIGVTALRM will never be delivered to threads in a process. .Pp -Due to the +Due to the type definition of .Ft fd_set and the internal reliance on diff --git a/lib/libc_r/man/pwrite.3 b/lib/libc_r/man/pwrite.3 index 3041753a588..0de1b53e5ec 100644 --- a/lib/libc_r/man/pwrite.3 +++ b/lib/libc_r/man/pwrite.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pwrite.3,v 1.6 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: pwrite.3,v 1.7 1999/07/09 13:35:25 aaron Exp $ .\" David Leonard <d@openbsd.org>, 1998. Public domain. .Dd September 7, 1998 .Dt PWRITE 3 @@ -21,7 +21,7 @@ in the file opened on file descriptor .Fa filedes. .Pp This function is provided for use in a threaded, parallel I/O -environment, where race conditions may exist between two threads +environment, where race conditions may exist between two threads non-atomically seeking and writing to the same file descriptor. .Sh RETURN VALUES The diff --git a/lib/libcompat/4.1/ftime.3 b/lib/libcompat/4.1/ftime.3 index 2220558f7b0..b6446206e60 100644 --- a/lib/libcompat/4.1/ftime.3 +++ b/lib/libcompat/4.1/ftime.3 @@ -44,7 +44,7 @@ .Fn ftime "struct timeb *tp" .Sh DESCRIPTION .Bf -symbolic -This interface is obsoleted by +This interface is obsoleted by .Xr gettimeofday 2 . It is available from the compatibility library, libcompat. .Ef @@ -80,5 +80,5 @@ Daylight Saving time applies locally during the appropriate part of the year. .Sh HISTORY The .Nm -function appeared in +function appeared in .Bx 4.2 . diff --git a/lib/libcompat/4.1/getpw.3 b/lib/libcompat/4.1/getpw.3 index b2e525a06ea..6f3b28dff29 100644 --- a/lib/libcompat/4.1/getpw.3 +++ b/lib/libcompat/4.1/getpw.3 @@ -41,7 +41,7 @@ .Fn getpw uid "char *buf" .Sh DESCRIPTION .Bf -symbolic -The getpw function is made obsolete by +The getpw function is made obsolete by .Xr getpwuid 3 . It is available from the compatibility library, libcompat. .Ef @@ -62,7 +62,7 @@ character. .Sh RETURN VALUES The .Fn getpw -function returns the zero if successful, otherwise +function returns the zero if successful, otherwise a non-zero if the entry does not exist. .Sh FILES .Bl -tag -width /etc/passwd - compact diff --git a/lib/libcompat/4.1/stty.3 b/lib/libcompat/4.1/stty.3 index b3ac1a4a020..04fa64d3a24 100644 --- a/lib/libcompat/4.1/stty.3 +++ b/lib/libcompat/4.1/stty.3 @@ -44,7 +44,7 @@ .Fn gtty "int fd" "struct sgttyb *buf" .Sh DESCRIPTION .Bf -symbolic -These interfaces are obsoleted by +These interfaces are obsoleted by .Xr ioctl 2 . They are available from the compatibility library, libcompat. .Ef @@ -72,7 +72,7 @@ the .Fn gtty call is .Ql ioctl(fd, TIOCGETP, buf) . -See +See .Xr ioctl 2 and .Xr tty 4 @@ -90,5 +90,5 @@ The .Fn stty and .Fn gtty -functions appeared in +functions appeared in .Bx 4.2 . diff --git a/lib/libcompat/4.1/vlimit.3 b/lib/libcompat/4.1/vlimit.3 index 700be6fc668..3c798ec1aff 100644 --- a/lib/libcompat/4.1/vlimit.3 +++ b/lib/libcompat/4.1/vlimit.3 @@ -48,7 +48,7 @@ It is available from the compatibility library, libcompat. .Ef .Pp Limits the consumption by the current process and each process -it creates to not individually exceed +it creates to not individually exceed .Fa value on the specified .Fa resource . @@ -117,7 +117,7 @@ time limit. .Sh HISTORY The .Fn vlimit -function appeared in +function appeared in .Bx 4.2 . .Sh BUGS .Dv LIM_NORAISE diff --git a/lib/libcompat/4.1/vtimes.3 b/lib/libcompat/4.1/vtimes.3 index aaf4fbc7a5f..72bd2aaa464 100644 --- a/lib/libcompat/4.1/vtimes.3 +++ b/lib/libcompat/4.1/vtimes.3 @@ -42,7 +42,7 @@ .Fn vtimes "struct vtimes *par_vm" "struct vtimes *ch_vm" .Sh DESCRIPTION .Bf -symbolic -This interface is obsoleted by +This interface is obsoleted by .Xr getrusage 2 . It is available from the compatibility library, libcompat. .Ef @@ -54,7 +54,7 @@ returns accounting information for the current process and for the terminated child processes of the current process. Either .Fa par_vm -or +or .Fa ch_vm or both may be 0, in which case only the information for the pointers which are non-zero is returned. @@ -99,7 +99,7 @@ pages over 1 cpu-second for its data and stack, then .Fa vm_idsrss would have the value 5*60, where .Fa vm_utime+vm_stime -would be the 60. +would be the 60. The .Fa vm_idsrss argument @@ -113,7 +113,7 @@ variable reports the maximum instantaneous sum of the text+data+stack core-resident page count. .Pp -The +The .Fa vm_majflt field gives the number of page faults which resulted in disk activity; the @@ -138,5 +138,5 @@ to the first process to read or write the data. .Sh HISTORY The .Fn vlimit -function appeared in +function appeared in .Bx 4.2 . diff --git a/lib/libcompat/4.3/insque.3 b/lib/libcompat/4.3/insque.3 index 0cf594d3473..59002e25489 100644 --- a/lib/libcompat/4.3/insque.3 +++ b/lib/libcompat/4.3/insque.3 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: insque.3,v 1.2 1999/07/07 10:50:05 aaron Exp $ +.\" $Id: insque.3,v 1.3 1999/07/09 13:35:24 aaron Exp $ .\" .Dd August 12, 1993 .Dt INSQUE 3 @@ -46,7 +46,7 @@ .Ft }; .br .br -.Ft void +.Ft void .Fn insque "struct qelem *elem" "struct qelem *pred" .Ft void .Fn remque "struct qelem *elem" diff --git a/lib/libcompat/4.3/lsearch.3 b/lib/libcompat/4.3/lsearch.3 index 6b128c8ff9e..2b57f51bb55 100644 --- a/lib/libcompat/4.3/lsearch.3 +++ b/lib/libcompat/4.3/lsearch.3 @@ -70,7 +70,7 @@ is a comparison routine which is used to compare two elements. It takes two arguments which point to the .Fa key object and to an array member, in that order, and must return an integer -less than, equivalent to, or greater than zero if the +less than, equivalent to, or greater than zero if the .Fa key object is considered, respectively, to be less than, equal to, or greater than the array member. diff --git a/lib/libcompat/4.3/re_comp.3 b/lib/libcompat/4.3/re_comp.3 index d10ef653765..10f2bb42906 100644 --- a/lib/libcompat/4.3/re_comp.3 +++ b/lib/libcompat/4.3/re_comp.3 @@ -54,7 +54,7 @@ It is available from the compatibility library, libcompat. The .Fn re_comp function -compiles a string into an internal form suitable for pattern matching. +compiles a string into an internal form suitable for pattern matching. The .Fn re_exec function @@ -67,7 +67,7 @@ function returns 0 if the string .Fa s was compiled successfully; otherwise a string containing an -error message is returned. If +error message is returned. If .Fn re_comp is passed 0 or a null string, it returns without changing the currently compiled regular expression. @@ -86,10 +86,10 @@ The strings passed to both .Fn re_comp and .Fn re_exec -may have trailing or embedded newline characters; +may have trailing or embedded newline characters; they are terminated by .Dv NUL Ns s. -The regular expressions recognized are described in the manual entry for +The regular expressions recognized are described in the manual entry for .Xr ed 1 , given the above difference. .Sh DIAGNOSTICS @@ -122,5 +122,5 @@ The .Fn re_comp and .Fn re_exec -functions appeared in +functions appeared in .Bx 4.0 . diff --git a/lib/libcompat/4.3/rexec.3 b/lib/libcompat/4.3/rexec.3 index 7dfa79aa3b9..a1849a9769d 100644 --- a/lib/libcompat/4.3/rexec.3 +++ b/lib/libcompat/4.3/rexec.3 @@ -42,7 +42,7 @@ .Fn rexec ahost "int inport" "char *user" "char *passwd" "char *cmd" "int *fd2p" .Sh DESCRIPTION .Bf -symbolic -This interface is obsoleted by +This interface is obsoleted by .Xr krcmd 3 . It is available from the compatibility library, libcompat. .Ef @@ -73,7 +73,7 @@ specifies which well-known Internet port to use for the connection; the call .Ql getservbyname(\\*qexec\\*q, \\*qtcp\\*q) -(see +(see .Xr getservent 3 ) will return a pointer to a structure, which contains the necessary port. @@ -105,10 +105,10 @@ as the secondary connection is set up after authorization has been verified. If .Fa fd2p -is 0, then the +is 0, then the .Em stderr (unit 2 of the remote -command) will be made the same as the +command) will be made the same as the .Em stdout and no provision is made for sending arbitrary signals to the remote process, @@ -119,5 +119,5 @@ although you may be able to get its attention by using out-of-band data. .Sh HISTORY The .Fn rexec -function appeared in +function appeared in .Bx 4.2 . diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3 index 4b6145a22ef..550b46f8d70 100644 --- a/lib/libcompat/4.4/cuserid.3 +++ b/lib/libcompat/4.4/cuserid.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)ctermid.3 5.2 (Berkeley) 4/19/91 -.\" $Id: cuserid.3,v 1.2 1999/07/02 21:12:58 aaron Exp $ +.\" $Id: cuserid.3,v 1.3 1999/07/09 13:35:23 aaron Exp $ .\" .Dd November 28, 1993 .Dt CUSERID 3 @@ -49,7 +49,7 @@ This interface is available from the compatibility library, libcompat. .Pp The .Fn cuserid -function returns a character string representation of the user name +function returns a character string representation of the user name associated with the effective user ID of the calling process. .Pp If @@ -68,25 +68,25 @@ file bytes long. Otherwise, the user name is copied to a static buffer. .Sh RETURN VALUES -If +If .Fa buf is not the -.Dv NULL +.Dv NULL pointer, -.Fa buf +.Fa buf is returned; otherwise the address of the static buffer is returned. .Pp -If the user name could not be determined, if +If the user name could not be determined, if .Fa buf -is not the +is not the .Dv NULL pointer, the null character .Sq \e0 -will be stored at +will be stored at .Fa *buf ; otherwise -the +the .Dv NULL pointer is returned. .Sh SEE ALSO @@ -99,16 +99,16 @@ function conforms to .St -p1003.1-88 . .Sh BUGS Due to irreconcilable differences in historic implementations, -.Fn cuserid +.Fn cuserid was removed from the -.St -p1003.1-90 +.St -p1003.1-90 standard. This implementation exists purely for compatibility with existing programs. -New programs should use one of the following three alternatives to +New programs should use one of the following three alternatives to obtain the user name: .Pp .Bl -enum -offset indent -compact -.It +.It .Fn getlogin to return the user's login name. .It @@ -123,10 +123,10 @@ The .Fn cuserid function uses .Fn getpwuid ; -thus the results of a user's call to +thus the results of a user's call to .Fn getpwent , .Fn getpwnam or .Fn getpwuid -will be overwritten by subsequent calls to +will be overwritten by subsequent calls to .Fn cuserid . diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3 index 93489f31acc..e5ff2b031bd 100644 --- a/lib/libedit/editline.3 +++ b/lib/libedit/editline.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: editline.3,v 1.8 1999/07/07 14:22:25 aaron Exp $ +.\" $OpenBSD: editline.3,v 1.9 1999/07/09 13:35:25 aaron Exp $ .\" $NetBSD: editline.3,v 1.4 1997/01/14 04:17:23 lukem Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -195,7 +195,7 @@ may be modified by .Fn el_parse . The colon between .Dq prog -and the command, +and the command, .Ar command , will be replaced with a NUL .Po @@ -258,7 +258,7 @@ Otherwise, the current signal handlers will be used. Perform the .Ic bind built-in command. -Refer to +Refer to .Xr editrc 5 for more information. .It Dv EL_ECHOTC , Xo @@ -269,7 +269,7 @@ for more information. Perform the .Ic echotc built-in command. -Refer to +Refer to .Xr editrc 5 for more information. .It Dv EL_SETTC , Xo @@ -280,7 +280,7 @@ for more information. Perform the .Ic settc built-in command. -Refer to +Refer to .Xr editrc 5 for more information. .It Dv EL_SETTY , Xo @@ -291,7 +291,7 @@ for more information. Perform the .Ic setty built-in command. -Refer to +Refer to .Xr editrc 5 for more information. .It Dv EL_TELLTC , Xo @@ -302,7 +302,7 @@ for more information. Perform the .Ic telltc built-in command. -Refer to +Refer to .Xr editrc 5 for more information. .It Dv EL_ADDFN , Xo @@ -362,7 +362,7 @@ should be the value returned by .It Fn el_source Initialise .Nm -by reading the contents of +by reading the contents of .Fa file . .Fn el_parse is called for each line in @@ -483,7 +483,7 @@ if there isn't one. .It Dv H_ENTER , Fa "const char *str" Add .Fa str -as a new element to the history, and, if necessary, +as a new element to the history, and, if necessary, removing the oldest entry to keep the list to the created size. .It Dv H_PREV_STR , Fa "const char *str" Return the closest previous event that starts with diff --git a/lib/libedit/editrc.5 b/lib/libedit/editrc.5 index 6ea7b1b6684..044b0271e99 100644 --- a/lib/libedit/editrc.5 +++ b/lib/libedit/editrc.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: editrc.5,v 1.7 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: editrc.5,v 1.8 1999/07/09 13:35:25 aaron Exp $ .\" $NetBSD: editrc.5,v 1.4 1997/04/24 20:20:31 christos Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -62,7 +62,7 @@ Refer to .Sx BUILT-IN COMMANDS for more information. .Pp -.Ar prog +.Ar prog is the program name string that a program defines when it calls .Xr el_init 3 to setup @@ -118,11 +118,11 @@ Options include: .It Fl e Bind all keys to the standard GNU Emacs-like bindings. .It Fl v -Bind all keys to the standard +Bind all keys to the standard .Xr vi 1 -like bindings. .It Fl a -List or change key bindings in the +List or change key bindings in the .Xr vi 1 mode alternate (command mode) key map. .It Fl k diff --git a/lib/libkeynote/keynote.1 b/lib/libkeynote/keynote.1 index 0a91a266056..184eb48e1c6 100644 --- a/lib/libkeynote/keynote.1 +++ b/lib/libkeynote/keynote.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: keynote.1,v 1.7 1999/07/07 14:22:25 aaron Exp $ +.\" $OpenBSD: keynote.1,v 1.8 1999/07/09 13:35:29 aaron Exp $ .\" .\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) .\" @@ -6,11 +6,11 @@ .\" in April-May 1998 .\" .\" Copyright (C) 1998, 1999 by Angelos D. Keromytis. -.\" +.\" .\" Permission to use, copy, and modify this software without fee .\" is hereby granted, provided that this entire notice is included in .\" all copies of any software which is or includes a copy or -.\" modification of this software. +.\" modification of this software. .\" You may use this code under the GNU public license if you so wish. Please .\" contribute changes back to the author. .\" @@ -190,7 +190,7 @@ and can contain underscores. .Fa value is a quoted string, and can contain any character, and escape (backslash) processing is performed, as specified in the KeyNote -draft. +draft. .Pp The remaining options are: .Bl -tag -width indent @@ -217,10 +217,10 @@ flags should be given per invocation. If no flags are given, .Xr keynote 3 , .Xr keynote 4 .Bl -tag -width "AAAAAAA" -.It ``The KeyNote Trust-Management System'' +.It ``The KeyNote Trust-Management System'' M. Blaze, J. Feigenbaum, A. D. Keromytis, Internet Drafts, draft-ietf-trustmgt-keynote-00.txt -.It ``Decentralized Trust Management'' +.It ``Decentralized Trust Management'' M. Blaze, J. Feigenbaum, J. Lacy, 1996 IEEE Conference on Privacy and Security .It ``Compliance-Checking in the PolicyMaker Trust Management System'' diff --git a/lib/libkeynote/keynote.3 b/lib/libkeynote/keynote.3 index 8035ad50a52..7e192c9a7e7 100644 --- a/lib/libkeynote/keynote.3 +++ b/lib/libkeynote/keynote.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: keynote.3,v 1.8 1999/07/07 14:22:25 aaron Exp $ +.\" $OpenBSD: keynote.3,v 1.9 1999/07/09 13:35:29 aaron Exp $ .\" .\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) .\" @@ -6,11 +6,11 @@ .\" in April-May 1998 .\" .\" Copyright (C) 1998, 1999 by Angelos D. Keromytis. -.\" +.\" .\" Permission to use, copy, and modify this software without fee .\" is hereby granted, provided that this entire notice is included in .\" all copies of any software which is or includes a copy or -.\" modification of this software. +.\" modification of this software. .\" You may use this code under the GNU public license if you so wish. Please .\" contribute changes back to the author. .\" @@ -101,7 +101,7 @@ struct keynote_binary .Va keynote_errno contains an error code if some library call failed. Failed calls return \-1 (if their return value is integer), or -.Dv NULL +.Dv NULL (if their return value is a pointer) and set .Va keynote_errno . The defined error codes are: @@ -151,7 +151,7 @@ session, and performs any necessary initializations. On success, this function returns the new session ID, which is used by all subsequent calls with a .Fa sessid -argument. +argument. On failure, it returns \-1 and sets .Va keynote_errno to @@ -247,7 +247,7 @@ attribute. In this case, .Fa name is a regular expression that may match more than one attribute. -In case of conflict between a regular expression and a ``simple'' +In case of conflict between a regular expression and a ``simple'' attribute, the latter will be given priority. In case of conflict between two regular expression attributes, the one added later will be given priority. A callback function should never change the current @@ -335,7 +335,7 @@ and the highest-ordered value is .Fa returnvalues[numvalues - 1] . If .Fa returnvalues -is +is .Dv NULL , the .Fa returnvalues @@ -380,7 +380,7 @@ for syntactic or semantic errors. .It KEYNOTE_ERROR_MEMORY for memory-related problems. .It KEYNOTE_ERROR_SIGNATURE -if the assertion could be be cryptographically verified. +if the assertion could be be cryptographically verified. .El .Pp These values are defined in keynote.h. An application can then delete @@ -409,7 +409,7 @@ and frees all related resources, deleting action attributes, action authorizers, and assertions. On success, this function returns 0. On failure, it returns \-1 and sets .Va keynote_errno -to +to .Er ERROR_NOTFOUND if the session was not found. .Pp @@ -608,7 +608,7 @@ in this implementation. describes how the key should be binary-encoded. This implementation supports .DV INTERNAL_ENC_PKCS1 -for RSA keys, +for RSA keys, .Dv INTERNAL_ENC_ASN1 for DSA keys, and .Dv INTERNAL_ENC_NONE @@ -658,7 +658,7 @@ and pointing to an algorithm-dependent structure. In this implementation, this is an SSLeay/OpenSSL-defined .Fa DSA * -for DSA keys, +for DSA keys, .Fa RSA * for RSA keys, and a .Fa keynote_binary * @@ -746,10 +746,10 @@ algorithm was not supported. .Xr keynote 1 , .Xr keynote 4 .Bl -tag -width "AAAAAAA" -.It ``The KeyNote Trust-Management System'' +.It ``The KeyNote Trust-Management System'' M. Blaze, J. Feigenbaum, A. D. Keromytis, Internet Drafts, draft-ietf-trustmgt-keynote-00.txt -.It ``Decentralized Trust Management'' +.It ``Decentralized Trust Management'' M. Blaze, J. Feigenbaum, J. Lacy, 1996 IEEE Conference on Privacy and Security .It ``Compliance-Checking in the PolicyMaker Trust Management System'' diff --git a/lib/libkeynote/keynote.4 b/lib/libkeynote/keynote.4 index 4375d5279a1..92d4fefc8ac 100644 --- a/lib/libkeynote/keynote.4 +++ b/lib/libkeynote/keynote.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: keynote.4,v 1.8 1999/07/07 10:50:06 aaron Exp $ +.\" $OpenBSD: keynote.4,v 1.9 1999/07/09 13:35:29 aaron Exp $ .\" .\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) .\" @@ -6,11 +6,11 @@ .\" in April-May 1998 .\" .\" Copyright (C) 1998, 1999 by Angelos D. Keromytis. -.\" +.\" .\" Permission to use, copy, and modify this software without fee .\" is hereby granted, provided that this entire notice is included in .\" all copies of any software which is or includes a copy or -.\" modification of this software. +.\" modification of this software. .\" You may use this code under the GNU public license if you so wish. Please .\" contribute changes back to the author. .\" @@ -233,10 +233,10 @@ actions. .Xr keynote 1 , .Xr keynote 3 .Bl -tag -width "AAAAAAA" -.It ``The KeyNote Trust-Management System'' +.It ``The KeyNote Trust-Management System'' M. Blaze, J. Feigenbaum, A. D. Keromytis, Internet Drafts, draft-ietf-trustmgt-keynote-00.txt -.It ``Decentralized Trust Management'' +.It ``Decentralized Trust Management'' M. Blaze, J. Feigenbaum, J. Lacy, 1996 IEEE Conference on Privacy and Security .It ``Compliance-Checking in the PolicyMaker Trust Management System'' diff --git a/lib/libkvm.old/kvm_geterr.3 b/lib/libkvm.old/kvm_geterr.3 index 641f2b48bdc..c54f37dc53b 100644 --- a/lib/libkvm.old/kvm_geterr.3 +++ b/lib/libkvm.old/kvm_geterr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_geterr.3,v 1.1 1996/03/19 23:15:31 niklas Exp $ +.\" $OpenBSD: kvm_geterr.3,v 1.2 1999/07/09 13:35:26 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -55,7 +55,7 @@ on the descriptor The results are undefined if the most recent .Xr kvm 3 library call did not produce an error. -The string returned is stored in memory owned by +The string returned is stored in memory owned by .Xr kvm 3 so the message should be copied out and saved elsewhere if necessary. .Sh BUGS @@ -65,7 +65,7 @@ call, since failure is indicated by returning a .Dv NULL descriptor. Therefore, errors on open are output to the special error buffer -passed to +passed to .Fn kvm_openfiles . This option is not available to .Fn kvm_open . diff --git a/lib/libkvm.old/kvm_getprocs.3 b/lib/libkvm.old/kvm_getprocs.3 index 3cb7ea0b0ad..887f36c3df6 100644 --- a/lib/libkvm.old/kvm_getprocs.3 +++ b/lib/libkvm.old/kvm_getprocs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_getprocs.3,v 1.3 1999/07/02 21:13:05 aaron Exp $ +.\" $OpenBSD: kvm_getprocs.3,v 1.4 1999/07/09 13:35:26 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -43,7 +43,7 @@ .Sh NAME .Nm kvm_getprocs , .Nm kvm_getargv , -.Nm kvm_getenvv +.Nm kvm_getenvv .Nd access user process state .Sh SYNOPSIS .Fd #include <kvm.h> @@ -73,7 +73,7 @@ describes the filtering predicate as follows: .It Sy KERN_PROC_ALL all processes .It Sy KERN_PROC_PID -processes with process id +processes with process id .Fa arg .It Sy KERN_PROC_PGRP processes with process group @@ -96,13 +96,13 @@ The number of processes found is returned in the reference parameter .Fa cnt . The processes are returned as a contiguous array of kinfo_proc structures. This memory is locally allocated, and subsequent calls to -.Fn kvm_getprocs -and +.Fn kvm_getprocs +and .Fn kvm_close will overwrite this storage. .Pp .Fn kvm_getargv -returns a null-terminated argument vector that corresponds to the +returns a null-terminated argument vector that corresponds to the command line arguments passed to process indicated by .Fa p . Most likely, these arguments correspond to the values passed to @@ -113,7 +113,7 @@ Note that the original command name can be found, unaltered, in the p_comm field of the process structure returned by .Fn kvm_getprocs . .Pp -The +The .Fa nchr argument indicates the maximum number of characters, including null bytes, to use in building the strings. If this amount is exceeded, the string @@ -126,13 +126,13 @@ that print only a one line summary of a command and should not copy out large amounts of text only to ignore it. If .Fa nchr -is zero, no limit is imposed and all argument strings are returned in +is zero, no limit is imposed and all argument strings are returned in their entirety. .Pp The memory allocated to the argv pointers and string storage -is owned by the kvm library. Subsequent -.Fn kvm_getprocs -and +is owned by the kvm library. Subsequent +.Fn kvm_getprocs +and .Xr kvm_close 3 calls will clobber this storage. .Pp diff --git a/lib/libkvm.old/kvm_open.3 b/lib/libkvm.old/kvm_open.3 index 101f7216389..e297dd20052 100644 --- a/lib/libkvm.old/kvm_open.3 +++ b/lib/libkvm.old/kvm_open.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_open.3,v 1.2 1998/08/24 06:15:56 millert Exp $ +.\" $OpenBSD: kvm_open.3,v 1.3 1999/07/09 13:35:26 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -58,10 +58,10 @@ .Sh DESCRIPTION The functions .Fn kvm_open -and +and .Fn kvm_openfiles return a descriptor used to access kernel virtual memory -via the +via the .Xr kvm 3 library routines. Both active kernels and crash dumps are accessible through this interface. @@ -75,13 +75,13 @@ the currently running system is assumed, which is indicated by .Dv _PATH_KSYMS , if it exists, otherwise -.Dv _PATH_UNIX +.Dv _PATH_UNIX is used. Both are defined in <paths.h>. .Pp -.Fa corefile +.Fa corefile is the kernel memory device file. It can be either /dev/mem -or a crash dump core generated by +or a crash dump core generated by .Xr savecore 8 . If .Fa corefile @@ -98,7 +98,7 @@ should indicate the swap device. If from <paths.h> is used. .Pp The -.Fa flags +.Fa flags argument indicates read/write access as in .Xr open 2 and applies only to the core file. @@ -109,7 +109,7 @@ and .Dv O_RDWR are permitted. .Pp -There are two open routines which differ only with respect to +There are two open routines which differ only with respect to the error mechanism. One provides backward compatibility with the SunOS kvm library, while the other provides an improved error reporting framework. @@ -120,11 +120,11 @@ function is the Sun kvm compatible open call. Here, the .Fa errstr argument indicates how errors should be handled. If it is .Dv NULL , -no errors are reported and the application cannot know the +no errors are reported and the application cannot know the specific nature of the failed kvm call. If it is not .Dv NULL , -errors are printed to stderr with +errors are printed to stderr with .Fa errstr prepended to the message, as in .Xr perror 3 . @@ -160,7 +160,7 @@ argument. This buffer should be _POSIX2_LINE_MAX characters large (from .Sh RETURN VALUES The .Fn kvm_open -and +and .Fn kvm_openfiles functions both return a descriptor to be used in all subsequent kvm library calls. @@ -169,7 +169,7 @@ On failure, .Dv NULL is returned, in which case .Fn kvm_openfiles -writes the error message into +writes the error message into .Fa errbuf . .Pp The diff --git a/lib/libkvm.old/kvm_read.3 b/lib/libkvm.old/kvm_read.3 index a7f1628ac68..969bed16b28 100644 --- a/lib/libkvm.old/kvm_read.3 +++ b/lib/libkvm.old/kvm_read.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_read.3,v 1.1 1996/03/19 23:15:41 niklas Exp $ +.\" $OpenBSD: kvm_read.3,v 1.2 1999/07/09 13:35:26 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -65,19 +65,19 @@ for information regarding opening kernel virtual memory and crash dumps. The .Fn kvm_read function transfers -.Fa nbytes +.Fa nbytes bytes of data from the kernel space address .Fa addr to .Fa buf . -Conversely, +Conversely, .Fn kvm_write transfers data from .Fa buf to .Fa addr . -Unlike their SunOS counterparts, these functions cannot be used to +Unlike their SunOS counterparts, these functions cannot be used to read or write process address spaces. .Sh RETURN VALUES Upon success, the number of bytes actually transferred is returned. diff --git a/lib/libkvm/kvm_dump.3 b/lib/libkvm/kvm_dump.3 index ffddb95f4a2..fa51b1bc1c8 100644 --- a/lib/libkvm/kvm_dump.3 +++ b/lib/libkvm/kvm_dump.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_dump.3,v 1.2 1999/07/07 14:22:25 aaron Exp $ +.\" $OpenBSD: kvm_dump.3,v 1.3 1999/07/09 13:35:25 aaron Exp $ .\" $NetBSD: kvm_dump.3,v 1.1 1996/03/18 21:11:12 leo Exp $ .\" .\" Copyright (c) 1996 Leo Weppelman @@ -54,10 +54,10 @@ First note that the functions described here were designed to be used by .Pp The function .Fn kvm_dump_mkheader -checks if the physical memory file associated with +checks if the physical memory file associated with .Fa kd contains a valid crash-dump header as generated by a dumping kernel. When a -valid header is found, +valid header is found, .Fn kvm_dump_mkheader initializes the internal kvm data structures as if a crash-dump generated by the diff --git a/lib/libkvm/kvm_geterr.3 b/lib/libkvm/kvm_geterr.3 index 1d1899dc02f..d1977d8f1de 100644 --- a/lib/libkvm/kvm_geterr.3 +++ b/lib/libkvm/kvm_geterr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_geterr.3,v 1.2 1996/05/05 14:57:02 deraadt Exp $ +.\" $OpenBSD: kvm_geterr.3,v 1.3 1999/07/09 13:35:25 aaron Exp $ .\" $NetBSD: kvm_geterr.3,v 1.2 1996/03/18 22:33:20 thorpej Exp $ .\" .\" Copyright (c) 1992, 1993 @@ -56,7 +56,7 @@ on the descriptor The results are undefined if the most recent .Xr kvm 3 library call did not produce an error. -The string returned is stored in memory owned by +The string returned is stored in memory owned by .Xr kvm 3 so the message should be copied out and saved elsewhere if necessary. .Sh BUGS @@ -66,7 +66,7 @@ call, since failure is indicated by returning a .Dv NULL descriptor. Therefore, errors on open are output to the special error buffer -passed to +passed to .Fn kvm_openfiles . This option is not available to .Fn kvm_open . diff --git a/lib/libkvm/kvm_getprocs.3 b/lib/libkvm/kvm_getprocs.3 index b983d307133..3b6b2d07b39 100644 --- a/lib/libkvm/kvm_getprocs.3 +++ b/lib/libkvm/kvm_getprocs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_getprocs.3,v 1.5 1999/07/02 21:13:04 aaron Exp $ +.\" $OpenBSD: kvm_getprocs.3,v 1.6 1999/07/09 13:35:25 aaron Exp $ .\" $NetBSD: kvm_getprocs.3,v 1.3 1996/05/20 16:58:03 mrg Exp $ .\" .\" Copyright (c) 1992, 1993 @@ -44,7 +44,7 @@ .Sh NAME .Nm kvm_getprocs , .Nm kvm_getargv , -.Nm kvm_getenvv +.Nm kvm_getenvv .Nd access user process state .Sh SYNOPSIS .Fd #include <kvm.h> @@ -97,13 +97,13 @@ The number of processes found is returned in the reference parameter .Fa cnt . The processes are returned as a contiguous array of kinfo_proc structures. This memory is locally allocated, and subsequent calls to -.Fn kvm_getprocs -and +.Fn kvm_getprocs +and .Fn kvm_close will overwrite this storage. .Pp .Fn kvm_getargv -returns a null-terminated argument vector that corresponds to the +returns a null-terminated argument vector that corresponds to the command line arguments passed to process indicated by .Fa p . Most likely, these arguments correspond to the values passed to @@ -116,7 +116,7 @@ in the field of the process structure returned by .Fn kvm_getprocs . .Pp -The +The .Fa nchr argument indicates the maximum number of characters, including null bytes, to use in building the strings. If this amount is exceeded, the string @@ -129,13 +129,13 @@ that print only a one line summary of a command and should not copy out large amounts of text only to ignore it. If .Fa nchr -is zero, no limit is imposed and all argument strings are returned in +is zero, no limit is imposed and all argument strings are returned in their entirety. .Pp The memory allocated to the argv pointers and string storage -is owned by the kvm library. Subsequent -.Fn kvm_getprocs -and +is owned by the kvm library. Subsequent +.Fn kvm_getprocs +and .Xr kvm_close 3 calls will clobber this storage. .Pp diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3 index 7b2aba5aa06..56620ace6a8 100644 --- a/lib/libkvm/kvm_open.3 +++ b/lib/libkvm/kvm_open.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_open.3,v 1.4 1999/07/07 14:22:25 aaron Exp $ +.\" $OpenBSD: kvm_open.3,v 1.5 1999/07/09 13:35:25 aaron Exp $ .\" $NetBSD: kvm_open.3,v 1.2 1996/03/18 22:33:52 thorpej Exp $ .\" .\" Copyright (c) 1992, 1993 @@ -59,10 +59,10 @@ .Sh DESCRIPTION The functions .Fn kvm_open -and +and .Fn kvm_openfiles return a descriptor used to access kernel virtual memory -via the +via the .Xr kvm 3 library routines. Both active kernels and crash dumps are accessible through this interface. @@ -80,9 +80,9 @@ if it exists, otherwise is used. Both are defined in <paths.h>. .Pp -.Fa corefile +.Fa corefile is the kernel memory device file. It can be either /dev/mem -or a crash dump core generated by +or a crash dump core generated by .Xr savecore 8 . If .Fa corefile @@ -99,7 +99,7 @@ should indicate the swap device. If from <paths.h> is used. .Pp The -.Fa flags +.Fa flags argument indicates read/write access as in .Xr open 2 and applies only to the core file. @@ -110,7 +110,7 @@ and .Dv O_RDWR are permitted. .Pp -There are two open routines which differ only with respect to +There are two open routines which differ only with respect to the error mechanism. One provides backward compatibility with the SunOS kvm library, while the other provides an improved error reporting framework. @@ -121,11 +121,11 @@ function is the Sun kvm compatible open call. Here, the .Fa errstr argument indicates how errors should be handled. If it is .Dv NULL , -no errors are reported and the application cannot know the +no errors are reported and the application cannot know the specific nature of the failed kvm call. If it is not .Dv NULL , -errors are printed to stderr with +errors are printed to stderr with .Fa errstr prepended to the message, as in .Xr perror 3 . @@ -161,7 +161,7 @@ argument. This buffer should be _POSIX2_LINE_MAX characters large (from .Sh RETURN VALUES The .Fn kvm_open -and +and .Fn kvm_openfiles functions both return a descriptor to be used in all subsequent kvm library calls. @@ -170,7 +170,7 @@ On failure, .Dv NULL is returned, in which case .Fn kvm_openfiles -writes the error message into +writes the error message into .Fa errbuf . .Pp The diff --git a/lib/libkvm/kvm_read.3 b/lib/libkvm/kvm_read.3 index 8a296db375d..43017b7b835 100644 --- a/lib/libkvm/kvm_read.3 +++ b/lib/libkvm/kvm_read.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_read.3,v 1.3 1999/07/07 14:22:25 aaron Exp $ +.\" $OpenBSD: kvm_read.3,v 1.4 1999/07/09 13:35:26 aaron Exp $ .\" $NetBSD: kvm_read.3,v 1.2 1996/03/18 22:34:01 thorpej Exp $ .\" .\" Copyright (c) 1992, 1993 @@ -66,19 +66,19 @@ for information regarding opening kernel virtual memory and crash dumps. The .Fn kvm_read function transfers -.Fa nbytes +.Fa nbytes bytes of data from the kernel space address .Fa addr to .Fa buf . -Conversely, +Conversely, .Fn kvm_write transfers data from .Fa buf to .Fa addr . -Unlike their SunOS counterparts, these functions cannot be used to +Unlike their SunOS counterparts, these functions cannot be used to read or write process address spaces. .Sh RETURN VALUES Upon success, the number of bytes actually transferred is returned. diff --git a/lib/libm/man/acos.3 b/lib/libm/man/acos.3 index e9c73e400c1..6cf587f93e7 100644 --- a/lib/libm/man/acos.3 +++ b/lib/libm/man/acos.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)acos.3 5.1 (Berkeley) 5/2/91 -.\" $Id: acos.3,v 1.5 1999/07/01 00:06:39 deraadt Exp $ +.\" $Id: acos.3,v 1.6 1999/07/09 13:35:27 aaron Exp $ .\" .Dd May 2, 1991 .Dt ACOS 3 @@ -51,7 +51,7 @@ The and .Fn acosf functions compute the principal value of the arc cosine of -.Fa x +.Fa x in the range .Bq 0 , \*(Pi . .Sh RETURN VALUES diff --git a/lib/libm/man/acosh.3 b/lib/libm/man/acosh.3 index ffd15f739c8..87f97737b3d 100644 --- a/lib/libm/man/acosh.3 +++ b/lib/libm/man/acosh.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)acosh.3 5.2 (Berkeley) 5/6/91 -.\" $Id: acosh.3,v 1.5 1999/07/07 10:50:05 aaron Exp $ +.\" $Id: acosh.3,v 1.6 1999/07/09 13:35:26 aaron Exp $ .\" .Dd May 6, 1991 .Dt ACOSH 3 @@ -71,5 +71,5 @@ to EDOM. .Sh HISTORY The .Fn acosh -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libm/man/asin.3 b/lib/libm/man/asin.3 index 1a2bedc1db6..cf6a4bafe46 100644 --- a/lib/libm/man/asin.3 +++ b/lib/libm/man/asin.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)asin.3 5.1 (Berkeley) 5/2/91 -.\" $Id: asin.3,v 1.5 1999/07/01 00:06:39 deraadt Exp $ +.\" $Id: asin.3,v 1.6 1999/07/09 13:35:26 aaron Exp $ .\" .Dd May 2, 1991 .Dt ASIN 3 @@ -48,10 +48,10 @@ .Sh DESCRIPTION The .Fn asin -and +and .Fn asinf functions compute the principal value of the arc sine of -.Fa x +.Fa x in the range .Bk -words .Bq -\*(Pi/2, +\*(Pi/2 . diff --git a/lib/libm/man/asinh.3 b/lib/libm/man/asinh.3 index 3f28fea895f..ea7abe185ee 100644 --- a/lib/libm/man/asinh.3 +++ b/lib/libm/man/asinh.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)asinh.3 6.4 (Berkeley) 5/6/91 -.\" $Id: asinh.3,v 1.5 1999/07/07 10:50:05 aaron Exp $ +.\" $Id: asinh.3,v 1.6 1999/07/09 13:35:26 aaron Exp $ .\" .Dd May 6, 1991 .Dt ASINH 3 @@ -69,5 +69,5 @@ functions return the inverse hyperbolic sine of .Sh HISTORY The .Fn asinh -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libm/man/atan.3 b/lib/libm/man/atan.3 index 3eb9513dfd9..b7b8db5bb39 100644 --- a/lib/libm/man/atan.3 +++ b/lib/libm/man/atan.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)atan.3 5.1 (Berkeley) 5/2/91 -.\" $Id: atan.3,v 1.5 1999/07/01 00:06:39 deraadt Exp $ +.\" $Id: atan.3,v 1.6 1999/07/09 13:35:26 aaron Exp $ .\" .Dd May 2, 1991 .Dt ATAN 3 @@ -48,10 +48,10 @@ .Sh DESCRIPTION The .Fn atan -and +and .Fn atanf functions compute the principal value of the arc tangent of -.Fa x +.Fa x in the range .Bk -words .Bq -\*(Pi/2 , +\*(Pi/2 . diff --git a/lib/libm/man/atan2.3 b/lib/libm/man/atan2.3 index eb6363d4118..a88acea6866 100644 --- a/lib/libm/man/atan2.3 +++ b/lib/libm/man/atan2.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)atan2.3 5.1 (Berkeley) 5/2/91 -.\" $Id: atan2.3,v 1.4 1999/07/01 00:06:39 deraadt Exp $ +.\" $Id: atan2.3,v 1.5 1999/07/09 13:35:26 aaron Exp $ .\" .Dd May 2, 1991 .Dt ATAN2 3 @@ -58,7 +58,7 @@ the return value. The .Xr atan2 function, if successful, -returns the arc tangent of +returns the arc tangent of .Ar y/ Ns Ar x in the range .Bk -words diff --git a/lib/libm/man/cos.3 b/lib/libm/man/cos.3 index 87de19d799b..5fdf6a399ff 100644 --- a/lib/libm/man/cos.3 +++ b/lib/libm/man/cos.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)cos.3 5.1 (Berkeley) 5/2/91 -.\" $Id: cos.3,v 1.4 1999/07/01 00:06:40 deraadt Exp $ +.\" $Id: cos.3,v 1.5 1999/07/09 13:35:26 aaron Exp $ .\" .Dd May 2, 1991 .Dt COS 3 @@ -53,7 +53,7 @@ and functions compute the cosine of .Fa x (measured in radians). -A large magnitude argument may yield a result with little or no +A large magnitude argument may yield a result with little or no significance. For a discussion of error due to roundoff, see .Xr math 3 . diff --git a/lib/libm/man/erf.3 b/lib/libm/man/erf.3 index 6d7a8559388..84410342c4c 100644 --- a/lib/libm/man/erf.3 +++ b/lib/libm/man/erf.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)erf.3 6.4 (Berkeley) 4/20/91 -.\" $Id: erf.3,v 1.6 1999/07/07 10:50:06 aaron Exp $ +.\" $Id: erf.3,v 1.7 1999/07/09 13:35:26 aaron Exp $ .\" .Dd April 20, 1991 .Dt ERFC 3 @@ -62,7 +62,7 @@ calculates the error function of x; where .if n \{\ erf(x) = 2/sqrt(pi)\(**\|integral from 0 to x of exp(\-t\(**t) dt. \} .if t \{\ -erf\|(x) := +erf\|(x) := (2/\(sr\(*p)\|\(is\d\s8\z0\s10\u\u\s8x\s10\d\|exp(\-t\u\s82\s10\d)\|dt. \} .Ed .Pp diff --git a/lib/libm/man/exp.3 b/lib/libm/man/exp.3 index 56349bb3883..90ce33bf4cf 100644 --- a/lib/libm/man/exp.3 +++ b/lib/libm/man/exp.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91 -.\" $Id: exp.3,v 1.6 1999/07/07 10:50:06 aaron Exp $ +.\" $Id: exp.3,v 1.7 1999/07/09 13:35:26 aaron Exp $ .\" .Dd July 31, 1991 .Dt EXP 3 @@ -88,7 +88,7 @@ function computes the value exp(x)\-1 accurately even for tiny argument .Pp The .Fn log -function computes the value of the natural logarithm of argument +function computes the value of the natural logarithm of argument .Fa x. .Pp The @@ -111,7 +111,7 @@ of to the exponent .Ar y . .Sh ERROR (due to Roundoff etc.) -exp(x), log(x), expm1(x) and log1p(x) are accurate to within +exp(x), log(x), expm1(x) and log1p(x) are accurate to within an .Em ulp , and log10(x) to within about 2 @@ -244,10 +244,10 @@ Any program that already tests whether x is zero (or infinite or \*(Na) before computing x**0 cannot care whether 0**0 = 1 or not. Any program that depends upon 0**0 to be invalid is dubious anyway since that -expression's meaning and, if invalid, its consequences +expression's meaning and, if invalid, its consequences vary from one computer system to another. .It -Some Algebra texts (e.g. Sigler's) define x**0 = 1 for +Some Algebra texts (e.g. Sigler's) define x**0 = 1 for all x, including x = 0. This is compatible with the convention that accepts a[0] as the value of polynomial @@ -265,7 +265,7 @@ The reason for setting 0**0 = 1 anyway is this: If x(z) and y(z) are .Em any functions analytic (expandable -in power series) in z around z = 0, and if there +in power series) in z around z = 0, and if there x(0) = y(0) = 0, then x(z)**y(z) \(-> 1 as z \(-> 0. .Ed .It diff --git a/lib/libm/man/fabs.3 b/lib/libm/man/fabs.3 index b95b256751c..4464cffba87 100644 --- a/lib/libm/man/fabs.3 +++ b/lib/libm/man/fabs.3 @@ -31,7 +31,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)fabs.3 5.1 (Berkeley) 5/2/91 -.\" $Id: fabs.3,v 1.4 1999/07/01 00:06:40 deraadt Exp $ +.\" $Id: fabs.3,v 1.5 1999/07/09 13:35:27 aaron Exp $ .\" .Dd May 2, 1991 .Dt FABS 3 @@ -49,7 +49,7 @@ .Sh DESCRIPTION The .Fn fabs -and +and .Fn fabsf functions compute the absolute value of a floating-point number .Fa x . diff --git a/lib/libm/man/floor.3 b/lib/libm/man/floor.3 index b940ad01163..abe9a8e3d88 100644 --- a/lib/libm/man/floor.3 +++ b/lib/libm/man/floor.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)floor.3 6.5 (Berkeley) 4/19/91 -.\" $Id: floor.3,v 1.4 1999/07/01 00:06:40 deraadt Exp $ +.\" $Id: floor.3,v 1.5 1999/07/09 13:35:27 aaron Exp $ .\" .Dd March 10, 1994 .Dt FLOOR 3 @@ -50,7 +50,7 @@ The .Fn floor and .Fn floorf -functions return the largest integral value +functions return the largest integral value less than or equal to .Fa x . .Sh SEE ALSO diff --git a/lib/libm/man/fmod.3 b/lib/libm/man/fmod.3 index ecc4748892b..8c724622b5b 100644 --- a/lib/libm/man/fmod.3 +++ b/lib/libm/man/fmod.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)fmod.3 5.1 (Berkeley) 5/2/91 -.\" $Id: fmod.3,v 1.3 1999/07/01 00:06:40 deraadt Exp $ +.\" $Id: fmod.3,v 1.4 1999/07/09 13:35:27 aaron Exp $ .\" .Dd May 2, 1991 .Dt FMOD 3 @@ -52,8 +52,8 @@ function computes the floating-point remainder of .Fa x Ns / Fa y . .Sh RETURN VALUES The -.Fn fmod -and +.Fn fmod +and .Fn fmodf functions return the value .Sm off diff --git a/lib/libm/man/ieee.3 b/lib/libm/man/ieee.3 index 02035285c35..bd273827574 100644 --- a/lib/libm/man/ieee.3 +++ b/lib/libm/man/ieee.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91 -.\" $Id: ieee.3,v 1.4 1999/07/02 17:04:16 aaron Exp $ +.\" $Id: ieee.3,v 1.5 1999/07/09 13:35:27 aaron Exp $ .\" .Dd February 25, 1994 .Dt IEEE 3 @@ -51,11 +51,11 @@ .Nd Functions for IEEE arithmetic .Sh SYNOPSIS .Fd #include <math.h> -.Ft double +.Ft double .Fn copysign "double x" "double y" .Ft float .Fn copysignf "float x" "float y" -.Ft int +.Ft int .Fn finite "double x" .Ft int .Fn finitef "float x" @@ -63,7 +63,7 @@ .Fn ilogb "double x" .Ft int .Fn ilogbf "float x" -.Ft double +.Ft double .Fn nextafter "double x" "double y" .Ft float .Fn nextafterf "float x" "float y" @@ -71,12 +71,12 @@ .Fn remainder "double x" "double y" .Ft float .Fn remainderf "float x" "float y" -.Ft double +.Ft double .Fn scalbn "double x" "int n" .Ft float .Fn scalbnf "float x" "int n" .Sh DESCRIPTION -These functions are required or recommended by +These functions are required or recommended by .St -ieee754 . .Pp .Fn copysign @@ -103,16 +103,16 @@ returns .Fa x Ns 's exponent .Fa n , in integer format. -.Fn ilogb \*(Pm\*(If -returns +.Fn ilogb \*(Pm\*(If +returns .Dv INT_MAX and .Fn ilogb 0 -returns +returns .Dv INT_MIN . .Pp -.Fn nextafter -returns the next machine representable number from +.Fn nextafter +returns the next machine representable number from .Fa x in direction .Fa y . @@ -164,7 +164,7 @@ computed by exponent manipulation. .Sh HISTORY The .Nm ieee -functions appeared in +functions appeared in .Bx 4.3 . .Sh STANDARDS .St -ieee754 diff --git a/lib/libm/man/ieee_test.3 b/lib/libm/man/ieee_test.3 index 247a7f1855e..2b48a72abe2 100644 --- a/lib/libm/man/ieee_test.3 +++ b/lib/libm/man/ieee_test.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)ieee.3 6.4 (Berkeley) 5/6/91 -.\" $Id: ieee_test.3,v 1.5 1999/07/07 10:50:06 aaron Exp $ +.\" $Id: ieee_test.3,v 1.6 1999/07/09 13:35:27 aaron Exp $ .\" .Dd March 10, 1994 .Dt IEEE_TEST 3 @@ -45,11 +45,11 @@ .Nd IEEE test functions .Sh SYNOPSIS .Fd #include <math.h> -.Ft double +.Ft double .Fn logb "double x" .Ft float .Fn logbf "float x" -.Ft double +.Ft double .Fn scalb "double x" "double n" .Ft float .Fn scalbf "float x" "float n" @@ -58,7 +58,7 @@ .Ft float .Fn significandf "float x" .Sh DESCRIPTION -These functions allow users to test conformance to +These functions allow users to test conformance to .St -ieee754 . Their use is not otherwise recommended. .Pp @@ -77,18 +77,18 @@ returns .Fa x Ns \(**(2** Ns Fa n ) computed by exponent manipulation. .Pp -.Fn significand x -returns +.Fn significand x +returns .Fa sig , -where -.Fa x -:= +where +.Fa x +:= .Fa sig No \(** 2** Ns Fa n -with 1 \(<= +with 1 \(<= .Fa sig < 2. .Fn significand x -is not defined when +is not defined when .Fa x is 0, \*(Pm\*(If, or \*(Na. .Sh SEE ALSO diff --git a/lib/libm/man/infnan.3 b/lib/libm/man/infnan.3 index 8cd1ffca369..7d16f7e83e8 100644 --- a/lib/libm/man/infnan.3 +++ b/lib/libm/man/infnan.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: infnan.3,v 1.3 1999/07/01 00:06:40 deraadt Exp $ +.\" $OpenBSD: infnan.3,v 1.4 1999/07/09 13:35:27 aaron Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -43,7 +43,7 @@ (temporary) .Sh SYNOPSIS .Fd #include <math.h> -.Ft double +.Ft double .Fn infnan "int iarg" .Sh DESCRIPTION At some time in the future, some of the useful properties of @@ -66,7 +66,7 @@ in appropriate places in .Xr libm 3 . When better exception\-handling is implemented in -.Tn UNIX , +.Tn UNIX , only .Fn infnan among the codes in @@ -114,7 +114,7 @@ when they invoke .Fn infnan iarg under analogous circumstances on a -.Tn VAX . +.Tn VAX . Currently .Fn infnan stops computation under all those @@ -125,7 +125,7 @@ and a value for a revised .Fn infnan to return. And a C program to -implement that suggestion follows. +implement that suggestion follows. .sp 0.5 .Bd -filled -offset indent .Bl -column "IEEE Signal" "IEEE Default" XXERANGE ERANGEXXorXXEDOM @@ -178,5 +178,5 @@ and .Sh HISTORY The .Fn infnan -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libm/man/j0.3 b/lib/libm/man/j0.3 index 1de052ff934..497398d7c88 100644 --- a/lib/libm/man/j0.3 +++ b/lib/libm/man/j0.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)j0.3 6.7 (Berkeley) 4/19/91 -.\" $Id: j0.3,v 1.6 1999/07/07 10:50:06 aaron Exp $ +.\" $Id: j0.3,v 1.7 1999/07/09 13:35:27 aaron Exp $ .\" .Dd April 19, 1991 .Dt J0 3 @@ -77,7 +77,7 @@ .Fn ynf "int n" "float x" .Sh DESCRIPTION The functions -.Fn j0 , +.Fn j0 , .Fn j0f , .Fn j1 and @@ -124,7 +124,7 @@ and compute the .Em Bessel function of the second kind for the integer order .Fa n -for the positive +for the positive .Em integer value .Fa x diff --git a/lib/libm/man/lgamma.3 b/lib/libm/man/lgamma.3 index 61b080b500e..eff8e0b3d70 100644 --- a/lib/libm/man/lgamma.3 +++ b/lib/libm/man/lgamma.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)lgamma.3 6.6 (Berkeley) 12/3/92 -.\" $Id: lgamma.3,v 1.7 1999/07/02 21:13:06 aaron Exp $ +.\" $Id: lgamma.3,v 1.8 1999/07/09 13:35:27 aaron Exp $ .\" .Dd December 3, 1992 .Dt LGAMMA 3 @@ -94,5 +94,5 @@ is set to .Sh HISTORY The .Fn lgamma -function appeared in +function appeared in .Bx 4.3 . diff --git a/lib/libm/man/sinh.3 b/lib/libm/man/sinh.3 index d784b6192fd..e0ccd54b072 100644 --- a/lib/libm/man/sinh.3 +++ b/lib/libm/man/sinh.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)sinh.3 6.6 (Berkeley) 4/19/91 -.\" $Id: sinh.3,v 1.4 1999/07/01 00:06:40 deraadt Exp $ +.\" $Id: sinh.3,v 1.5 1999/07/09 13:35:27 aaron Exp $ .Dd April 19, 1991 .Dt SINH 3 .Os @@ -53,7 +53,7 @@ function computes the hyperbolic sine of The .Fn sinh function returns the hyperbolic sine value unless -the magnitude +the magnitude of .Fa x is too large; in this event, the global variable diff --git a/lib/libm/man/sqrt.3 b/lib/libm/man/sqrt.3 index 81532f9d05e..ef4cccab632 100644 --- a/lib/libm/man/sqrt.3 +++ b/lib/libm/man/sqrt.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)sqrt.3 6.4 (Berkeley) 5/6/91 -.\" $Id: sqrt.3,v 1.4 1999/07/01 00:06:40 deraadt Exp $ +.\" $Id: sqrt.3,v 1.5 1999/07/09 13:35:27 aaron Exp $ .\" .Dd May 6, 1991 .Dt SQRT 3 @@ -75,7 +75,7 @@ sets the global variable .Va errno to EDOM. .Sh SEE ALSO -.Xr math 3 +.Xr math 3 .Sh HISTORY The .Fn cbrt diff --git a/lib/libm/man/tan.3 b/lib/libm/man/tan.3 index b10472c9b49..e687afa3999 100644 --- a/lib/libm/man/tan.3 +++ b/lib/libm/man/tan.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)tan.3 5.1 (Berkeley) 5/2/91 -.\" $Id: tan.3,v 1.4 1999/07/01 00:06:40 deraadt Exp $ +.\" $Id: tan.3,v 1.5 1999/07/09 13:35:27 aaron Exp $ .\" .Dd May 2, 1991 .Dt TAN 3 @@ -48,7 +48,7 @@ .Sh DESCRIPTION The .Fn tan -and +and .Fn tanf functions compute the tangent of .Fa x diff --git a/lib/libocurses/ocurses.3 b/lib/libocurses/ocurses.3 index 8d6ffb7c776..30c3e23a944 100644 --- a/lib/libocurses/ocurses.3 +++ b/lib/libocurses/ocurses.3 @@ -196,5 +196,5 @@ as changed .Sh HISTORY The .Nm -package appeared in +package appeared in .Bx 4.0 . diff --git a/lib/libocurses/otermcap.3 b/lib/libocurses/otermcap.3 index 3bd4e77a4f4..daf7bf368d1 100644 --- a/lib/libocurses/otermcap.3 +++ b/lib/libocurses/otermcap.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: otermcap.3,v 1.2 1999/07/07 10:50:06 aaron Exp $ +.\" $OpenBSD: otermcap.3,v 1.3 1999/07/09 13:35:27 aaron Exp $ .\" $NetBSD: termcap.3,v 1.5 1995/06/05 19:45:48 pk Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -270,5 +270,5 @@ user's terminal capability data base .Sh HISTORY The .Nm -functions appeared in +functions appeared in .Bx 4.0 . diff --git a/lib/libossaudio/ossaudio.3 b/lib/libossaudio/ossaudio.3 index 57514a0c4ce..c2f53d174dc 100644 --- a/lib/libossaudio/ossaudio.3 +++ b/lib/libossaudio/ossaudio.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ossaudio.3,v 1.3 1999/07/07 10:50:06 aaron Exp $ +.\" $OpenBSD: ossaudio.3,v 1.4 1999/07/09 13:35:28 aaron Exp $ .\" $NetBSD: ossaudio.3,v 1.6 1998/02/05 18:52:19 perry Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -23,7 +23,7 @@ .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS +.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS @@ -53,14 +53,14 @@ library only for porting programs. .Sh SEE ALSO .Xr audio 4 .Sh BUGS -The emulation uses an #define for +The emulation uses an #define for .Va ioctl() so some obscure programs can fail to compile. .Pp The emulation is incomplete. .Pp -The emulation only covers +The emulation only covers .Va ioctl() , there are other differences as well. E.g., on a write that would block in non-blocking mode Linux returns diff --git a/lib/libpcap/pcap.3 b/lib/libpcap/pcap.3 index 3934ec05eab..bc5d1ad943f 100644 --- a/lib/libpcap/pcap.3 +++ b/lib/libpcap/pcap.3 @@ -93,7 +93,7 @@ in .Fn pcap_lookupdev , and .Fn pcap_lookupnet -is assumed to be able to hold at least +is assumed to be able to hold at least .Dv PCAP_ERRBUFF_SIZE chars. .Pp diff --git a/lib/libpthread/man/pread.3 b/lib/libpthread/man/pread.3 index 3262800cf38..c4f151650ab 100644 --- a/lib/libpthread/man/pread.3 +++ b/lib/libpthread/man/pread.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pread.3,v 1.6 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: pread.3,v 1.7 1999/07/09 13:35:25 aaron Exp $ .\" David Leonard <d@openbsd.org>, 1998. Public domain. .Dd September 7, 1998 .Dt PREAD 3 @@ -21,7 +21,7 @@ in the file opened on file descriptor .Fa filedes. .Pp This function is provided for use in a threaded, parallel I/O -environment, where race conditions may exist between two threads +environment, where race conditions may exist between two threads non-atomically seeking and reading from the same file descriptor. .Sh RETURN VALUES The diff --git a/lib/libpthread/man/pthread_detach.3 b/lib/libpthread/man/pthread_detach.3 index 8fdebe5c6a1..ca62e49ea2c 100644 --- a/lib/libpthread/man/pthread_detach.3 +++ b/lib/libpthread/man/pthread_detach.3 @@ -48,7 +48,7 @@ can be reclaimed when the thread terminates. If .Fa thread has not terminated, .Fn pthread_detach -will not cause it to terminate. The effect of multiple +will not cause it to terminate. The effect of multiple .Fn pthread_detach calls on the same target thread is unspecified. .Sh RETURN VALUES diff --git a/lib/libpthread/man/pthread_exit.3 b/lib/libpthread/man/pthread_exit.3 index a6016203c97..d12b2290d02 100644 --- a/lib/libpthread/man/pthread_exit.3 +++ b/lib/libpthread/man/pthread_exit.3 @@ -68,7 +68,7 @@ is undefied if called from a cancellation handler or destructor function that was invoked as the result of an implicit or explicit call to .Fn pthread_exit . .Pp -After a thread has terminated, the result of access to local (auto) +After a thread has terminated, the result of access to local (auto) variables of the thread is undefined. Thus, references to local variables of the exiting thread should not be used for the .Fn pthread_exit diff --git a/lib/libpthread/man/pthread_once.3 b/lib/libpthread/man/pthread_once.3 index f33a6901f6b..2454d61dd92 100644 --- a/lib/libpthread/man/pthread_once.3 +++ b/lib/libpthread/man/pthread_once.3 @@ -71,7 +71,7 @@ The function is not a cancellation point. However, if .Fn init_routine is a cancellation point and is cancelled, the effect on -.Fa once_control is as if +.Fa once_control is as if .Fn pthread_once was never called. .Pp diff --git a/lib/libpthread/man/pthread_rwlock_destroy.3 b/lib/libpthread/man/pthread_rwlock_destroy.3 index 8a3fa008de0..3ad133ff3aa 100644 --- a/lib/libpthread/man/pthread_rwlock_destroy.3 +++ b/lib/libpthread/man/pthread_rwlock_destroy.3 @@ -22,8 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: pthread_rwlock_destroy.3,v 1.3 1999/05/14 21:03:31 alex Exp $ -.\" $OpenBSD: pthread_rwlock_destroy.3,v 1.3 1999/05/14 21:03:31 alex Exp $ +.\" $Id: pthread_rwlock_destroy.3,v 1.4 1999/07/09 13:35:25 aaron Exp $ +.\" $OpenBSD: pthread_rwlock_destroy.3,v 1.4 1999/07/09 13:35:25 aaron Exp $ .\" .Dd August 4, 1998 .Dt PTHREAD_RWLOCK_DESTROY 3 @@ -38,7 +38,7 @@ .Sh DESCRIPTION The .Fn pthread_rwlock_destroy -function is used to destroy a read/write lock previously created with +function is used to destroy a read/write lock previously created with .Fn pthread_rwlock_init . .Sh RETURN VALUES If successful, the diff --git a/lib/libpthread/man/pthread_rwlockattr_destroy.3 b/lib/libpthread/man/pthread_rwlockattr_destroy.3 index 9dfe3718994..41a04620933 100644 --- a/lib/libpthread/man/pthread_rwlockattr_destroy.3 +++ b/lib/libpthread/man/pthread_rwlockattr_destroy.3 @@ -22,8 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: pthread_rwlockattr_destroy.3,v 1.3 1999/05/14 21:03:32 alex Exp $ -.\" $OpenBSD: pthread_rwlockattr_destroy.3,v 1.3 1999/05/14 21:03:32 alex Exp $ +.\" $Id: pthread_rwlockattr_destroy.3,v 1.4 1999/07/09 13:35:25 aaron Exp $ +.\" $OpenBSD: pthread_rwlockattr_destroy.3,v 1.4 1999/07/09 13:35:25 aaron Exp $ .\" .Dd August 4, 1998 .Dt PTHREAD_RWLOCKATTR_DESTROY 3 @@ -39,7 +39,7 @@ The .Fn pthread_rwlockattr_destroy function is used to destroy a read/write lock attribute object -previously created with +previously created with .Fn pthread_rwlockattr_init . .Sh RETURN VALUES If successful, the diff --git a/lib/libpthread/man/pthread_single_np.3 b/lib/libpthread/man/pthread_single_np.3 index ed24ab68eab..80f6ff8b4c0 100644 --- a/lib/libpthread/man/pthread_single_np.3 +++ b/lib/libpthread/man/pthread_single_np.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pthread_single_np.3,v 1.2 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: pthread_single_np.3,v 1.3 1999/07/09 13:35:25 aaron Exp $ .\" David Leonard <d@openbsd.org>, 1999. Public domain. .Dd March 21, 1999 .Dt PTHREAD_SINGLE_NP 3 @@ -17,12 +17,12 @@ .Sh DESCRIPTION The .Fn pthread_single_np -function causes the process to +function causes the process to enter single-threaded (non-POSIX) scheduling mode. .Pp The .Fn pthread_multi_np -function causes the process to +function causes the process to return to multi-threaded scheduling mode. .Sh RETURN VALUES The diff --git a/lib/libpthread/man/pthread_testcancel.3 b/lib/libpthread/man/pthread_testcancel.3 index a6a0093f915..aaf37e26acc 100644 --- a/lib/libpthread/man/pthread_testcancel.3 +++ b/lib/libpthread/man/pthread_testcancel.3 @@ -36,7 +36,7 @@ to the indicated .Fa type and returns the previous cancelability type at the location referenced by .Fa oldtype . -Legal values for +Legal values for .Fa type are .Dv PTHREAD_CANCEL_DEFERRED @@ -81,7 +81,7 @@ cancellation requests are held pending until a cancellation point (see below) is reached. If cancelability is disabled, the setting of the cancelability type has no immediate effect as all cancellation requests are held pending; however, once cancelability is enabled again the new -type will be in effect. +type will be in effect. .El .Ss Cancellation Points Cancellation points will occur when a thread is executing the following @@ -120,7 +120,7 @@ The .Fn pthread_setcancelstate and .Fn pthread_setcanceltype -functions are used to control the points at which a thread may be +functions are used to control the points at which a thread may be asynchronously canceled. For cancellation control to be usable in modular fashion, some rules must be followed. .Pp diff --git a/lib/libpthread/man/pthreads.3 b/lib/libpthread/man/pthreads.3 index e6887d9166d..774d56b7c53 100644 --- a/lib/libpthread/man/pthreads.3 +++ b/lib/libpthread/man/pthreads.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pthreads.3,v 1.5 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: pthreads.3,v 1.6 1999/07/09 13:35:24 aaron Exp $ .\" David Leonard <d@openbsd.org>, 1998. Public domain. .Dd August 17, 1998 .Dt PTHREADS 3 @@ -182,7 +182,7 @@ to alter the process virtual timer will have undefined effects. The .Dv SIGVTALRM will never be delivered to threads in a process. .Pp -Due to the +Due to the type definition of .Ft fd_set and the internal reliance on diff --git a/lib/libpthread/man/pwrite.3 b/lib/libpthread/man/pwrite.3 index 3041753a588..0de1b53e5ec 100644 --- a/lib/libpthread/man/pwrite.3 +++ b/lib/libpthread/man/pwrite.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pwrite.3,v 1.6 1999/07/07 10:50:05 aaron Exp $ +.\" $OpenBSD: pwrite.3,v 1.7 1999/07/09 13:35:25 aaron Exp $ .\" David Leonard <d@openbsd.org>, 1998. Public domain. .Dd September 7, 1998 .Dt PWRITE 3 @@ -21,7 +21,7 @@ in the file opened on file descriptor .Fa filedes. .Pp This function is provided for use in a threaded, parallel I/O -environment, where race conditions may exist between two threads +environment, where race conditions may exist between two threads non-atomically seeking and writing to the same file descriptor. .Sh RETURN VALUES The diff --git a/lib/libtermlib/terminfo.3 b/lib/libtermlib/terminfo.3 index 278a24922ab..a40a8f6b23b 100644 --- a/lib/libtermlib/terminfo.3 +++ b/lib/libtermlib/terminfo.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: terminfo.3,v 1.5 1999/05/16 19:56:04 alex Exp $ +.\" $OpenBSD: terminfo.3,v 1.6 1999/07/09 13:35:28 aaron Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -270,8 +270,8 @@ routine instantiates the string .Ar str , substituting the parameters %p1 through %p9 with the values of -.Ar p1 -through +.Ar p1 +through .Ar p9 . A pointer is returned to the result of .Ar str diff --git a/lib/libutil/pw_getconf.3 b/lib/libutil/pw_getconf.3 index cffa555c7f2..65bcee7b6ca 100644 --- a/lib/libutil/pw_getconf.3 +++ b/lib/libutil/pw_getconf.3 @@ -42,12 +42,12 @@ The function reads .Pa /etc/passwd.conf and retrieves the value of the option specified -by +by .Pa option -from the section given be -.Pa key . +from the section given be +.Pa key . If no suitable entry is found -for the +for the .Pa key an empty string will be returned in data. .Pp diff --git a/lib/libutil/uucplock.3 b/lib/libutil/uucplock.3 index 7c1eebc2e34..adca519e39e 100644 --- a/lib/libutil/uucplock.3 +++ b/lib/libutil/uucplock.3 @@ -1,6 +1,6 @@ -.\" +.\" .\" All rights reserved. -.\" +.\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: @@ -20,14 +20,14 @@ .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -.\" -.\" $Id: uucplock.3,v 1.5 1999/07/07 14:22:26 aaron Exp $ +.\" +.\" $Id: uucplock.3,v 1.6 1999/07/09 13:35:28 aaron Exp $ .\" " .Dd March 30, 1997 .Dt uucplock 3 .Os .Sh NAME -.Nm uu_lock , +.Nm uu_lock , .Nm uu_unlock , .Nm uu_lockerr .Nd acquire and release control of a serial device diff --git a/lib/libwrap/hosts_access.3 b/lib/libwrap/hosts_access.3 index b94e61d1e6f..af0e2e1c08f 100644 --- a/lib/libwrap/hosts_access.3 +++ b/lib/libwrap/hosts_access.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hosts_access.3,v 1.3 1997/06/23 11:12:40 downsj Exp $ +.\" $OpenBSD: hosts_access.3,v 1.4 1999/07/09 13:35:28 aaron Exp $ .\" .\" Copyright (c) 1997, Jason Downs. All rights reserved. .\" @@ -37,7 +37,7 @@ .Nm hosts_access , .Nm hosts_ctl , .Nm request_init , -.Nm request_set +.Nm request_set .Nd access control library .Sh SYNOPSIS .Fd #include <tcpd.h> @@ -52,7 +52,7 @@ .Ft int .Fn hosts_ctl "char *daemon" "char *client_name" "char *client_addr" "char *client_user" .Sh DESCRIPTION -The routines described in this document are part of the +The routines described in this document are part of the .Nm libwrap.a library. They implement a rule-based access control language with optional shell commands that are executed when a rule fires. @@ -109,7 +109,7 @@ arguments should contain valid data or STRING_UNKNOWN. .Fn hosts_ctl returns zero if access should be denied. .Pp -The +The .Fa allow_severity and .Fa deny_severity @@ -140,7 +140,7 @@ library function. This may interfere with other code that relies on Wietse Venema (wietse@wzv.win.tue.nl) Department of Mathematics and Computing Science Eindhoven University of Technology -Den Dolech 2, P.O. Box 513, +Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands .Ed \" @(#) hosts_access.3 1.8 96/02/11 17:01:26 diff --git a/lib/libwrap/hosts_access.5 b/lib/libwrap/hosts_access.5 index ae287e9e9a5..40f9336116f 100644 --- a/lib/libwrap/hosts_access.5 +++ b/lib/libwrap/hosts_access.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hosts_access.5,v 1.6 1997/07/27 18:43:30 downsj Exp $ +.\" $OpenBSD: hosts_access.5,v 1.7 1999/07/09 13:35:28 aaron Exp $ .\" .\" Copyright (c) 1997, Jason Downs. All rights reserved. .\" @@ -49,9 +49,9 @@ document. .\" The extensions are turned on at .\" program build time by building with -DPROCESS_OPTIONS. .Pp -In the following text, +In the following text, .Ar daemon -is the process name of a network daemon process, and +is the process name of a network daemon process, and .Ar client is the name and/or address of a host requesting service. Network daemon process names are specified in the inetd configuration file. @@ -61,12 +61,12 @@ at the first match: .Bl -bullet -tag -width XXX .It Access will be granted when a (daemon,client) pair matches an entry in -the +the .Pa /etc/hosts.allow file. .It Otherwise, access will be denied when a (daemon,client) pair matches an -entry in the +entry in the .Pa /etc/hosts.deny file. .It @@ -102,21 +102,21 @@ daemon_list : client_list [ : shell_command ] .Ar daemon_list is a list of one or more daemon process names .Pf ( Va argv[0] -values) or wildcards (see below). +values) or wildcards (see below). .Pp .Ar client_list is a list of one or more host names, host addresses, patterns or wildcards (see below) that will be matched against the client host name or address. .Pp -The more complex forms +The more complex forms .Ar daemon@host -and +and .Ar user@host are explained in the sections on server endpoint patterns and on client username lookups, respectively. .Pp -List elements should be separated by blanks and/or commas. +List elements should be separated by blanks and/or commas. .Pp With the exception of NIS (YP) netgroup lookups, all access control checks are case insensitive. @@ -130,7 +130,7 @@ A string that begins with a .Sc character. A host name is matched if the last components of its name match the specified pattern. For -example, the pattern +example, the pattern .Sq .tue.nl matches the host name .Sq wzv.win.tue.nl . @@ -198,7 +198,7 @@ what type of network it is talking to. .IP EXCEPT Intended use is of the form: .Sq list_1 EXCEPT list_2 ; -this construct matches anything that matches +this construct matches anything that matches .Ar list_1 unless it matches .Ar list_2 . @@ -211,10 +211,10 @@ would parse as .Sh SHELL COMMANDS If the first-matched access control rule contains a shell command, that command is subjected to %<letter> substitutions (see next section). -The result is executed by a +The result is executed by a .Pa /bin/sh child process with standard -input, output and error connected to +input, output and error connected to .Pa /dev/null . Specify an .Sq & @@ -224,7 +224,7 @@ Shell commands should not rely on the PATH setting of the inetd. Instead, they should use absolute path names, or they should begin with an explicit PATH=whatever statement. .Pp -The +The .Xr hosts_options 5 document describes an alternative language that uses the shell command field in a different and incompatible way. @@ -295,11 +295,11 @@ daemon_list : ... user_pattern@host_pattern ... The daemon wrappers can be configured at compile time to perform rule-driven username lookups (default) or to always interrogate the client host. In the case of rule-driven username lookups, the above -rule would cause username lookup only when both the +rule would cause username lookup only when both the .Ar daemon_list -and the +and the .Ar host_pattern -match. +match. .Pp A user pattern has the same syntax as a daemon process pattern, so the same wildcards apply (netgroup membership is not supported). One @@ -353,7 +353,7 @@ client connection and the IDENT lookup, although doing so is much harder than spoofing just a client connection. It may also be that the client\'s IDENT server is lying. .Pp -Note: IDENT lookups don\'t work with UDP services. +Note: IDENT lookups don\'t work with UDP services. .Sh EXAMPLES The language is flexible enough that different types of access control policy can be expressed with a minimum of fuss. Although the language @@ -370,13 +370,13 @@ including address and/or network/netmask information, to reduce the impact of temporary name server lookup failures. .Sh MOSTLY CLOSED In this case, access is denied by default. Only explicitly authorized -hosts are permitted access. +hosts are permitted access. .Pp The default policy (no access) is implemented with a trivial deny file: .Pp .Bd -unfilled -offset indent -/etc/hosts.deny: +/etc/hosts.deny: .Bd -unfilled -offset indent 2 ALL: ALL .Ed @@ -389,7 +389,7 @@ The explicitly authorized hosts are listed in the allow file. For example: .Pp .Bd -unfilled -offset indent -/etc/hosts.allow: +/etc/hosts.allow: .Bd -unfilled -offset indent 2 ALL: LOCAL @some_netgroup ALL: .foobar.edu EXCEPT terminalserver.foobar.edu @@ -400,7 +400,7 @@ The first rule permits access from hosts in the local domain (no .So .Ns . .Sc -in the host name) and from members of the +in the host name) and from members of the .Ar some_netgroup netgroup. The second rule permits access from all hosts in the .Ar foobar.edu @@ -408,7 +408,7 @@ domain (notice the leading dot), with the exception of .Ar terminalserver.foobar.edu . .Sh MOSTLY OPEN Here, access is granted by default; only explicitly specified hosts are -refused service. +refused service. .Pp The default policy (access granted) makes the allow file redundant so that it can be omitted. The explicitly non-authorized hosts are listed @@ -491,7 +491,7 @@ netgroup lookups are case sensitive. Wietse Venema (wietse@wzv.win.tue.nl) Department of Mathematics and Computing Science Eindhoven University of Technology -Den Dolech 2, P.O. Box 513, +Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands .Ed \" @(#) hosts_access.5 1.20 95/01/30 19:51:46 diff --git a/lib/libwrap/hosts_options.5 b/lib/libwrap/hosts_options.5 index 0bd7e6f7973..7287a72259c 100644 --- a/lib/libwrap/hosts_options.5 +++ b/lib/libwrap/hosts_options.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hosts_options.5,v 1.2 1997/06/23 11:12:41 downsj Exp $ +.\" $OpenBSD: hosts_options.5,v 1.3 1999/07/09 13:35:29 aaron Exp $ .\" .\" Copyright (c) 1997, Jason Downs. All rights reserved. .\" @@ -42,7 +42,7 @@ in the .Xr hosts_access 5 document. .\" The extensions are enabled at program build time. -.\" For example, by editing the Makefile and turning on the +.\" For example, by editing the Makefile and turning on the .\" PROCESS_OPTIONS compile-time option. .Pp The extensible language uses the following format: @@ -50,7 +50,7 @@ The extensible language uses the following format: daemon_list : client_list : option : option ... .Ed .Pp -The first two fields are described in the +The first two fields are described in the .Xr hosts_access 5 manual page. The remainder of the rules is a list of zero or more options. Any ":" @@ -76,7 +76,7 @@ to emphasize or to ignore specific events. Grant (deny) service. These options must appear at the end of a rule. .El .Pp -The +The .Ar allow and .Ar deny @@ -145,7 +145,7 @@ telnetd : ... : twist PATH=/some/other; exec in.telnetd .Ed .Pp Warning: in case of UDP services, do not twist to commands that use -the standard I/O or the +the standard I/O or the .Xr read 2 or .Xr write 2 @@ -162,7 +162,7 @@ it is still connected to a server. The keepalive option is not useful for datagram (UDP) services. .It "linger number_of_seconds" Specifies how long the kernel will try to deliver not-yet delivered -data after the server process closes a connection. +data after the server process closes a connection. .El .Sh USERNAME LOOKUP .Bl -tag -width "rfc931 [ timeout_in_seconds ]" @@ -178,9 +178,9 @@ value is taken. .Sh MISCELLANEOUS .Bl -tag -width "banners /some/directory" .It "banners /some/directory" -Look for a file in +Look for a file in .Pa /some/directory -with the same name as the daemon process (for example +with the same name as the daemon process (for example .Nm telnetd for the telnet service), and copy its contents to the client. Newline characters are replaced by carriage-return newline, and %<letter> @@ -195,7 +195,7 @@ Warning: banners are supported for connection-oriented (TCP) network services only. .It "nice [ number ]" Change the nice value of the process (default 10). Specify a positive -value to spend more CPU resources on other processes. +value to spend more CPU resources on other processes. .It "setenv name value" Place a (name, value) pair into the process environment. The value is subjected to %<letter> expansions and may contain whitespace (but @@ -225,7 +225,7 @@ and service is denied. Wietse Venema (wietse@wzv.win.tue.nl) Department of Mathematics and Computing Science Eindhoven University of Technology -Den Dolech 2, P.O. Box 513, +Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands .Ed \" @(#) hosts_options.5 1.10 94/12/28 17:42:28 |