summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Feldman <alex@cvs.openbsd.org>1999-05-16 19:58:20 +0000
committerAlex Feldman <alex@cvs.openbsd.org>1999-05-16 19:58:20 +0000
commit0dacaf536cdff0c70d067a1648e846cf6e7bcffc (patch)
treea7242dc673f15a56501071f686f150e05e519b5e /lib
parenta745f84c11e201e22ac76b1776820903cabfd67a (diff)
Cleanup xrefs under SEE ALSO. Specifically:
- Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
Diffstat (limited to 'lib')
-rw-r--r--lib/libarch/i386/i386_iopl.26
-rw-r--r--lib/libc/compat-43/getdtablesize.34
-rw-r--r--lib/libc/compat-43/gethostid.36
-rw-r--r--lib/libc/compat-43/killpg.34
-rw-r--r--lib/libc/compat-43/setruid.312
-rw-r--r--lib/libc/compat-43/sigblock.34
-rw-r--r--lib/libc/compat-43/sigpause.34
-rw-r--r--lib/libc/compat-43/sigsetmask.38
-rw-r--r--lib/libc/compat-43/sigvec.312
-rw-r--r--lib/libc/crypt/arc4random.34
-rw-r--r--lib/libc/crypt/blowfish.34
-rw-r--r--lib/libc/db/man/mpool.34
-rw-r--r--lib/libc/db/man/ndbm.36
-rw-r--r--lib/libc/gen/alarm.34
-rw-r--r--lib/libc/gen/ctype.326
-rw-r--r--lib/libc/gen/directory.34
-rw-r--r--lib/libc/gen/exec.35
-rw-r--r--lib/libc/gen/frexp.36
-rw-r--r--lib/libc/gen/getdomainname.36
-rw-r--r--lib/libc/gen/gethostname.34
-rw-r--r--lib/libc/gen/getloadavg.36
-rw-r--r--lib/libc/gen/getmntinfo.34
-rw-r--r--lib/libc/gen/getpagesize.36
-rw-r--r--lib/libc/gen/isalnum.34
-rw-r--r--lib/libc/gen/isalpha.34
-rw-r--r--lib/libc/gen/isascii.34
-rw-r--r--lib/libc/gen/isblank.36
-rw-r--r--lib/libc/gen/iscntrl.34
-rw-r--r--lib/libc/gen/isdigit.34
-rw-r--r--lib/libc/gen/isgraph.34
-rw-r--r--lib/libc/gen/islower.34
-rw-r--r--lib/libc/gen/isprint.34
-rw-r--r--lib/libc/gen/ispunct.34
-rw-r--r--lib/libc/gen/isspace.34
-rw-r--r--lib/libc/gen/isupper.34
-rw-r--r--lib/libc/gen/isxdigit.34
-rw-r--r--lib/libc/gen/ldexp.36
-rw-r--r--lib/libc/gen/nice.34
-rw-r--r--lib/libc/gen/popen.36
-rw-r--r--lib/libc/gen/signal.34
-rw-r--r--lib/libc/gen/toascii.34
-rw-r--r--lib/libc/gen/tolower.38
-rw-r--r--lib/libc/gen/toupper.38
-rw-r--r--lib/libc/gen/ualarm.34
-rw-r--r--lib/libc/gen/unvis.34
-rw-r--r--lib/libc/gen/vis.34
-rw-r--r--lib/libc/net/getnetent.36
-rw-r--r--lib/libc/net/ns.34
-rw-r--r--lib/libc/net/rcmd.36
-rw-r--r--lib/libc/net/resolver.34
-rw-r--r--lib/libc/nls/catclose.36
-rw-r--r--lib/libc/stdio/fflush.34
-rw-r--r--lib/libc/stdio/fputs.34
-rw-r--r--lib/libc/stdio/getc.34
-rw-r--r--lib/libc/stdio/mktemp.36
-rw-r--r--lib/libc/stdio/scanf.310
-rw-r--r--lib/libc/stdio/setbuf.38
-rw-r--r--lib/libc/stdio/stdio.34
-rw-r--r--lib/libc/stdio/ungetc.34
-rw-r--r--lib/libc/stdlib/abs.36
-rw-r--r--lib/libc/stdlib/alloca.34
-rw-r--r--lib/libc/stdlib/calloc.36
-rw-r--r--lib/libc/stdlib/div.36
-rw-r--r--lib/libc/stdlib/labs.34
-rw-r--r--lib/libc/stdlib/ldiv.36
-rw-r--r--lib/libc/stdlib/memory.36
-rw-r--r--lib/libc/stdlib/qabs.36
-rw-r--r--lib/libc/string/string.314
-rw-r--r--lib/libc/string/strlcpy.36
-rw-r--r--lib/libc/sys/bind.26
-rw-r--r--lib/libc/sys/brk.26
-rw-r--r--lib/libc/sys/chmod.24
-rw-r--r--lib/libc/sys/chown.26
-rw-r--r--lib/libc/sys/close.28
-rw-r--r--lib/libc/sys/connect.28
-rw-r--r--lib/libc/sys/dup.24
-rw-r--r--lib/libc/sys/execve.24
-rw-r--r--lib/libc/sys/fcntl.26
-rw-r--r--lib/libc/sys/flock.26
-rw-r--r--lib/libc/sys/getdirentries.26
-rw-r--r--lib/libc/sys/getgid.26
-rw-r--r--lib/libc/sys/getitimer.26
-rw-r--r--lib/libc/sys/getpeername.26
-rw-r--r--lib/libc/sys/getsockopt.26
-rw-r--r--lib/libc/sys/ioctl.28
-rw-r--r--lib/libc/sys/issetugid.28
-rw-r--r--lib/libc/sys/kill.28
-rw-r--r--lib/libc/sys/ktrace.26
-rw-r--r--lib/libc/sys/link.24
-rw-r--r--lib/libc/sys/mount.26
-rw-r--r--lib/libc/sys/msync.26
-rw-r--r--lib/libc/sys/nfssvc.24
-rw-r--r--lib/libc/sys/open.26
-rw-r--r--lib/libc/sys/pipe.28
-rw-r--r--lib/libc/sys/poll.26
-rw-r--r--lib/libc/sys/readlink.24
-rw-r--r--lib/libc/sys/recv.26
-rw-r--r--lib/libc/sys/rename.24
-rw-r--r--lib/libc/sys/rfork.28
-rw-r--r--lib/libc/sys/select.26
-rw-r--r--lib/libc/sys/send.26
-rw-r--r--lib/libc/sys/setsid.24
-rw-r--r--lib/libc/sys/setuid.24
-rw-r--r--lib/libc/sys/sigprocmask.26
-rw-r--r--lib/libc/sys/sigsuspend.24
-rw-r--r--lib/libc/sys/socket.26
-rw-r--r--lib/libc/sys/socketpair.24
-rw-r--r--lib/libc/sys/swapon.26
-rw-r--r--lib/libc/sys/symlink.24
-rw-r--r--lib/libc/sys/vfork.24
-rw-r--r--lib/libc/sys/wait.26
-rw-r--r--lib/libc/time/ctime.34
-rw-r--r--lib/libc_r/man/flockfile.36
-rw-r--r--lib/libc_r/man/pread.34
-rw-r--r--lib/libc_r/man/pthread_cancel.38
-rw-r--r--lib/libc_r/man/pthread_sigmask.36
-rw-r--r--lib/libc_r/man/pwrite.36
-rw-r--r--lib/libc_r/man/sigwait.38
-rw-r--r--lib/libcompat/4.1/vtimes.34
-rw-r--r--lib/libcompat/4.3/re_comp.32
-rw-r--r--lib/libcompat/regexp/regexp.32
-rw-r--r--lib/libedit/editline.36
-rw-r--r--lib/libkvm.old/kvm_getfiles.310
-rw-r--r--lib/libkvm.old/kvm_getloadavg.36
-rw-r--r--lib/libkvm/kvm_getfiles.310
-rw-r--r--lib/libkvm/kvm_getloadavg.36
-rw-r--r--lib/libm/man/acos.314
-rw-r--r--lib/libm/man/asin.36
-rw-r--r--lib/libm/man/atan.36
-rw-r--r--lib/libm/man/atan2.36
-rw-r--r--lib/libm/man/ceil.36
-rw-r--r--lib/libm/man/cos.314
-rw-r--r--lib/libm/man/cosh.36
-rw-r--r--lib/libm/man/exp.36
-rw-r--r--lib/libm/man/fabs.36
-rw-r--r--lib/libm/man/floor.36
-rw-r--r--lib/libm/man/infnan.36
-rw-r--r--lib/libm/man/lgamma.36
-rw-r--r--lib/libm/man/rint.34
-rw-r--r--lib/libm/man/sin.36
-rw-r--r--lib/libm/man/sinh.36
-rw-r--r--lib/libm/man/tan.36
-rw-r--r--lib/libm/man/tanh.36
-rw-r--r--lib/libocurses/ocurses.32
-rw-r--r--lib/libpthread/man/flockfile.36
-rw-r--r--lib/libpthread/man/pread.34
-rw-r--r--lib/libpthread/man/pthread_cancel.38
-rw-r--r--lib/libpthread/man/pthread_sigmask.36
-rw-r--r--lib/libpthread/man/pwrite.36
-rw-r--r--lib/libpthread/man/sigwait.38
-rw-r--r--lib/libtermlib/terminfo.34
-rw-r--r--lib/libutil/scsi.36
152 files changed, 441 insertions, 442 deletions
diff --git a/lib/libarch/i386/i386_iopl.2 b/lib/libarch/i386/i386_iopl.2
index 16a09a86f80..10b5bf62745 100644
--- a/lib/libarch/i386/i386_iopl.2
+++ b/lib/libarch/i386/i386_iopl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: i386_iopl.2,v 1.6 1997/07/23 20:41:10 kstailey Exp $
+.\" $OpenBSD: i386_iopl.2,v 1.7 1999/05/16 19:54:40 alex Exp $
.\" $NetBSD: i386_iopl.2,v 1.3 1996/02/27 22:57:25 jtc Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -67,8 +67,8 @@ will fail if:
The caller was not the super-user.
.El
.Sh SEE ALSO
-.Xr i386_set_ioperm 2 ,
-.Xr i386_get_ioperm 2 .
+.Xr i386_get_ioperm 2 ,
+.Xr i386_set_ioperm 2
.Sh REFERENCES
i386 Microprocessor Programmer's Reference Manual, Intel
.Sh WARNING
diff --git a/lib/libc/compat-43/getdtablesize.3 b/lib/libc/compat-43/getdtablesize.3
index 594fac29917..9c083a160bc 100644
--- a/lib/libc/compat-43/getdtablesize.3
+++ b/lib/libc/compat-43/getdtablesize.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: getdtablesize.3,v 1.5 1996/08/19 08:19:19 tholo Exp $
+.\" $OpenBSD: getdtablesize.3,v 1.6 1999/05/16 19:54:41 alex Exp $
.\"
.Dd March 10, 1991
.Dt GETDTABLESIZE 3
@@ -52,9 +52,9 @@ returns the size of this table.
.Xr close 2 ,
.Xr dup 2 ,
.Xr getrlimit 2 ,
-.Xr setrlimit 2 ,
.Xr open 2 ,
.Xr select 2 ,
+.Xr setrlimit 2 ,
.Xr sysconf 3 ,
.Xr sysctl 3
.Sh HISTORY
diff --git a/lib/libc/compat-43/gethostid.3 b/lib/libc/compat-43/gethostid.3
index e0c2b00e0d2..d5d013e022a 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.3 1999/02/27 21:54:49 deraadt Exp $
+.\" $OpenBSD: gethostid.3,v 1.4 1999/05/16 19:54:42 alex Exp $
.\"
.Dd June 2, 1993
.Dt GETHOSTID 3
@@ -59,9 +59,9 @@ This function has been deprecated.
The hostid should be set or retrieved by use of
.Xr sysctl 3 .
.Sh SEE ALSO
-.Xr sysctl 3 ,
.Xr gethostname 3 ,
-.Xr sysctl 8 .
+.Xr sysctl 3 ,
+.Xr sysctl 8
.Sh BUGS
32 bits for the identifier is too small.
.Sh HISTORY
diff --git a/lib/libc/compat-43/killpg.3 b/lib/libc/compat-43/killpg.3
index 4990e487a6a..536411f32b7 100644
--- a/lib/libc/compat-43/killpg.3
+++ b/lib/libc/compat-43/killpg.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: killpg.3,v 1.3 1999/02/27 21:54:50 deraadt Exp $
+.\" $OpenBSD: killpg.3,v 1.4 1999/05/16 19:54:42 alex Exp $
.\"
.Dd March 10, 1991
.Dt KILLPG 3
@@ -85,8 +85,8 @@ of the target processes has an effective user ID different from that
of the sending process.
.El
.Sh SEE ALSO
-.Xr kill 2 ,
.Xr getpgrp 2 ,
+.Xr kill 2 ,
.Xr sigaction 2
.Sh HISTORY
The
diff --git a/lib/libc/compat-43/setruid.3 b/lib/libc/compat-43/setruid.3
index f94b48214f3..ba2b851baea 100644
--- a/lib/libc/compat-43/setruid.3
+++ b/lib/libc/compat-43/setruid.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: setruid.3,v 1.2 1996/08/19 08:19:35 tholo Exp $
+.\" $OpenBSD: setruid.3,v 1.3 1999/05/16 19:54:42 alex Exp $
.\"
.Dd April 19, 1991
.Dt SETRUID 3
@@ -59,12 +59,12 @@ If the user is not the super user, or the uid (gid) specified is not
the real or effective ID of the process,
these functions return \-1.
.Sh SEE ALSO
-.Xr setuid 2 ,
-.Xr setgid 2 ,
-.Xr seteuid 2 ,
-.Xr setegid 2 ,
+.Xr getgid 2 ,
.Xr getuid 2 ,
-.Xr getgid 2
+.Xr setegid 2 ,
+.Xr seteuid 2 ,
+.Xr setgid 2 ,
+.Xr setuid 2
.Sh HISTORY
The
.Fn setruid
diff --git a/lib/libc/compat-43/sigblock.3 b/lib/libc/compat-43/sigblock.3
index 4e7dcdc30ca..547c3324518 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.4 1999/02/27 21:54:51 deraadt Exp $
+.\" $OpenBSD: sigblock.3,v 1.5 1999/05/16 19:54:43 alex Exp $
.\"
.Dd March 10, 1991
.Dt SIGBLOCK 3
@@ -72,8 +72,8 @@ imposed by the system.
The previous set of masked signals is returned.
.Sh SEE ALSO
.Xr kill 2 ,
-.Xr sigprocmask 2 ,
.Xr sigaction 2 ,
+.Xr sigprocmask 2 ,
.Xr sigsetmask 3 ,
.Xr sigsetops 3
.Sh HISTORY
diff --git a/lib/libc/compat-43/sigpause.3 b/lib/libc/compat-43/sigpause.3
index 8cf12b54107..5c704d134d6 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.4 1999/02/27 21:54:52 deraadt Exp $
+.\" $OpenBSD: sigpause.3,v 1.5 1999/05/16 19:54:43 alex Exp $
.\"
.Dd March 10, 1991
.Dt SIGPAUSE 3
@@ -60,10 +60,10 @@ always terminates by being interrupted, returning -1 with
set to
.Dv EINTR
.Sh SEE ALSO
-.Xr sigsuspend 2 ,
.Xr kill 2 ,
.Xr sigaction 2 ,
.Xr sigprocmask 2 ,
+.Xr sigsuspend 2 ,
.Xr sigblock 3 ,
.Xr sigvec 3
.Sh HISTORY
diff --git a/lib/libc/compat-43/sigsetmask.3 b/lib/libc/compat-43/sigsetmask.3
index 33edbfce725..e834651f702 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.4 1999/02/27 21:54:52 deraadt Exp $
+.\" $OpenBSD: sigsetmask.3,v 1.5 1999/05/16 19:54:44 alex Exp $
.\"
.Dd March 10, 1991
.Dt SIGSETMASK 3
@@ -67,13 +67,13 @@ to be blocked.
.Sh RETURN VALUES
The previous set of masked signals is returned.
.Sh SEE ALSO
-.Xr sigprocmask 2 ,
.Xr kill 2 ,
.Xr sigaction 2 ,
+.Xr sigprocmask 2 ,
.Xr sigsuspend 2 ,
-.Xr sigvec 3 ,
.Xr sigblock 3 ,
-.Xr sigsetops 3
+.Xr sigsetops 3 ,
+.Xr sigvec 3
.Sh HISTORY
The
.Fn sigsetmask
diff --git a/lib/libc/compat-43/sigvec.3 b/lib/libc/compat-43/sigvec.3
index fa9b9e8ea3e..2ba4dc2f22e 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.11 1999/05/10 17:56:27 aaron Exp $
+.\" $OpenBSD: sigvec.3,v 1.12 1999/05/16 19:54:45 alex Exp $
.\"
.Dd April 29, 1991
.Dt SIGVEC 3
@@ -309,16 +309,16 @@ For an example of signal handler declerations, see
.Xr kill 1 ,
.Xr kill 2 ,
.Xr ptrace 2 ,
-.Xr setjmp 3 ,
.Xr sigaction 2 ,
.Xr sigaltstack 2 ,
-.Xr sigblock 3 ,
-.Xr siginterrupt 3 ,
.Xr sigpause 2 ,
.Xr sigprocmask 2 ,
-.Xr sigsetmask 3 ,
-.Xr sigsetops 3 ,
.Xr sigstack 2 ,
.Xr sigsuspend 2 ,
+.Xr setjmp 3 ,
+.Xr sigblock 3 ,
+.Xr siginterrupt 3 ,
+.Xr sigsetmask 3 ,
+.Xr sigsetops 3 ,
.Xr sigvec 3 ,
.Xr tty 4
diff --git a/lib/libc/crypt/arc4random.3 b/lib/libc/crypt/arc4random.3
index 741965c5ac6..81200a31395 100644
--- a/lib/libc/crypt/arc4random.3
+++ b/lib/libc/crypt/arc4random.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: arc4random.3,v 1.4 1998/09/07 16:44:34 aaron Exp $
+.\" $OpenBSD: arc4random.3,v 1.5 1999/05/16 19:54:46 alex Exp $
.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved.
.\"
@@ -70,8 +70,8 @@ since
.Fn arc4random
automatically initalizes itself.
.Sh SEE ALSO
-.Xr rand48 3 ,
.Xr rand 3 ,
+.Xr rand48 3 ,
.Xr random 3
.Sh HISTORY
.Pa RC4
diff --git a/lib/libc/crypt/blowfish.3 b/lib/libc/crypt/blowfish.3
index 02a1ef87384..6bb54ea138f 100644
--- a/lib/libc/crypt/blowfish.3
+++ b/lib/libc/crypt/blowfish.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: blowfish.3,v 1.2 1998/08/10 18:40:58 provos Exp $
+.\" $OpenBSD: blowfish.3,v 1.3 1999/05/16 19:54:46 alex Exp $
.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved.
.\"
@@ -97,8 +97,8 @@ are used for customization of the
.Pa Blowfish
cipher, e.g. for the blowfish password hashing function.
.Sh SEE ALSO
-.Xr crypt 3 ,
.Xr passwd 1 ,
+.Xr crypt 3 ,
.Xr passwd 5
.Sh AUTHOR
Niels Provos <provos@physnet.uni-hamburg.de>
diff --git a/lib/libc/db/man/mpool.3 b/lib/libc/db/man/mpool.3
index b91475a1ca2..bdda7abb9da 100644
--- a/lib/libc/db/man/mpool.3
+++ b/lib/libc/db/man/mpool.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mpool.3,v 1.4 1999/02/27 21:54:57 deraadt Exp $
+.\" $OpenBSD: mpool.3,v 1.5 1999/05/16 19:54:47 alex Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -231,7 +231,7 @@ The
.Fn mpool_delete
always acts as if it succeeded.
.Sh SEE ALSO
-.Xr dbopen 3 ,
.Xr btree 3 ,
+.Xr dbopen 3 ,
.Xr hash 3 ,
.Xr recno 3
diff --git a/lib/libc/db/man/ndbm.3 b/lib/libc/db/man/ndbm.3
index 7219527a9a7..3c8b9be6b37 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.5 1999/04/18 17:08:10 millert Exp $
+.\" $OpenBSD: ndbm.3,v 1.6 1999/05/16 19:54:47 alex Exp $
.Dd May 13, 1998
.Os OpenBSD
.Dt NDBM 3
@@ -186,6 +186,6 @@ If an error occurs, the error can be retrieved with
and corresponds to those errors described in
.Xr db 3 .
.Sh SEE ALSO
+.Xr open 2 ,
.Xr db 3 ,
-.Xr hash 3 ,
-.Xr open 2
+.Xr hash 3
diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3
index 410d9881ab3..6ce10c1b42b 100644
--- a/lib/libc/gen/alarm.3
+++ b/lib/libc/gen/alarm.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: alarm.3,v 1.4 1999/05/10 17:56:28 aaron Exp $
+.\" $OpenBSD: alarm.3,v 1.5 1999/05/16 19:54:49 alex Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -72,8 +72,8 @@ The request
voids the current
alarm.
.Sh SEE ALSO
-.Xr sigaction 2 ,
.Xr setitimer 2 ,
+.Xr sigaction 2 ,
.Xr signal 3 ,
.Xr sigpause 3 ,
.Xr sigvec 3 ,
diff --git a/lib/libc/gen/ctype.3 b/lib/libc/gen/ctype.3
index ff485b34db9..4e36cc26edd 100644
--- a/lib/libc/gen/ctype.3
+++ b/lib/libc/gen/ctype.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctype.3,v 1.2 1996/08/19 08:22:06 tholo Exp $
+.\" $OpenBSD: ctype.3,v 1.3 1999/05/16 19:54:49 alex Exp $
.\"
.\" Copyright (c) 1991 Regents of the University of California.
.\" All rights reserved.
@@ -79,22 +79,22 @@ The above macros perform character tests and conversions on the integer
.Pp
See the specific manual pages for more information.
.Sh SEE ALSO
+.Xr isalnum 3 ,
.Xr isalpha 3 ,
-.Xr isupper 3 ,
-.Xr islower 3 ,
+.Xr isascii 3 ,
+.Xr isblank 3 ,
+.Xr iscntrl 3 ,
.Xr isdigit 3 ,
-.Xr isxdigit 3 ,
-.Xr isalnum 3 ,
-.Xr isspace 3 ,
-.Xr ispunct 3 ,
-.Xr isprint 3 ,
.Xr isgraph 3 ,
-.Xr iscntrl 3 ,
-.Xr isblank 3 ,
-.Xr isascii 3 ,
-.Xr toupper 3 ,
-.Xr tolower 3 ,
+.Xr islower 3 ,
+.Xr isprint 3 ,
+.Xr ispunct 3 ,
+.Xr isspace 3 ,
+.Xr isupper 3 ,
+.Xr isxdigit 3 ,
.Xr toascii 3 ,
+.Xr tolower 3 ,
+.Xr toupper 3 ,
.Xr ascii 7
.Sh STANDARDS
These functions, with the exception of
diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3
index 0e88b92587c..3a0b186600d 100644
--- a/lib/libc/gen/directory.3
+++ b/lib/libc/gen/directory.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: directory.3,v 1.4 1997/07/24 00:40:37 deraadt Exp $
+.\" $OpenBSD: directory.3,v 1.5 1999/05/16 19:54:50 alex Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -166,10 +166,10 @@ if (dirp) {
return NOT_FOUND;
.Ed
.Sh SEE ALSO
-.Xr open 2 ,
.Xr close 2 ,
.Xr getdirentries 2 ,
.Xr lseek 2 ,
+.Xr open 2 ,
.Xr dir 5
.Sh HISTORY
The
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3
index be5751aa31b..a7fbf530681 100644
--- a/lib/libc/gen/exec.3
+++ b/lib/libc/gen/exec.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: exec.3,v 1.4 1999/02/27 21:55:02 deraadt Exp $
+.\" $OpenBSD: exec.3,v 1.5 1999/05/16 19:54:51 alex Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -214,9 +214,8 @@ for any of the errors specified for the library function
.Xr execve 2 ,
.Xr fork 2 ,
.Xr ktrace 2 ,
-.Xr environ 7 ,
.Xr ptrace 2 ,
-.Xr environ 7 ,
+.Xr environ 7
.Sh COMPATIBILITY
Historically, the default path for the
.Fn execlp
diff --git a/lib/libc/gen/frexp.3 b/lib/libc/gen/frexp.3
index 430d1a0998b..fee2ca4de7b 100644
--- a/lib/libc/gen/frexp.3
+++ b/lib/libc/gen/frexp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: frexp.3,v 1.2 1996/08/19 08:22:47 tholo Exp $
+.\" $OpenBSD: frexp.3,v 1.3 1999/05/16 19:54:51 alex Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -76,8 +76,8 @@ If
is zero, both parts of the result are zero.
.Sh SEE ALSO
.Xr ldexp 3 ,
-.Xr modf 3 ,
-.Xr math 3
+.Xr math 3 ,
+.Xr modf 3
.Sh STANDARDS
The
.Fn frexp
diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3
index edeaebe176c..8d7b76559db 100644
--- a/lib/libc/gen/getdomainname.3
+++ b/lib/libc/gen/getdomainname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getdomainname.3,v 1.9 1999/02/27 21:55:06 deraadt Exp $
+.\" $OpenBSD: getdomainname.3,v 1.10 1999/05/16 19:54:51 alex Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -82,10 +82,10 @@ invalid address.
The caller tried to set the domain name and was not the super-user.
.El
.Sh SEE ALSO
-.Xr sysctl 3 ,
+.Xr domainname 1 ,
.Xr gethostid 3 ,
.Xr gethostname 3 ,
-.Xr domainname 1 ,
+.Xr sysctl 3 ,
.Xr yp 8
.Sh BUGS
Domain names are limited to
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3
index fb5e19632c0..8896f02d65e 100644
--- a/lib/libc/gen/gethostname.3
+++ b/lib/libc/gen/gethostname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gethostname.3,v 1.8 1999/02/27 21:55:07 deraadt Exp $
+.\" $OpenBSD: gethostname.3,v 1.9 1999/05/16 19:54:52 alex Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -82,8 +82,8 @@ invalid address.
The caller tried to set the hostname and was not the super-user.
.El
.Sh SEE ALSO
-.Xr sysctl 3 ,
.Xr gethostid 3 ,
+.Xr sysctl 3 ,
.Xr sysctl 8
.Sh BUGS
Host names are limited to
diff --git a/lib/libc/gen/getloadavg.3 b/lib/libc/gen/getloadavg.3
index 46f067ed59e..a58487b2445 100644
--- a/lib/libc/gen/getloadavg.3
+++ b/lib/libc/gen/getloadavg.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getloadavg.3,v 1.4 1997/08/19 23:47:34 millert Exp $
+.\" $OpenBSD: getloadavg.3,v 1.5 1999/05/16 19:54:52 alex Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -63,8 +63,8 @@ Please see
for a list of possible errors.
.Sh SEE ALSO
.Xr uptime 1 ,
-.Xr sysctl 3 ,
-.Xr kvm_getloadavg 3
+.Xr kvm_getloadavg 3 ,
+.Xr sysctl 3
.Sh HISTORY
The
.Fn getloadavg
diff --git a/lib/libc/gen/getmntinfo.3 b/lib/libc/gen/getmntinfo.3
index a0522072dd8..8e884bec209 100644
--- a/lib/libc/gen/getmntinfo.3
+++ b/lib/libc/gen/getmntinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getmntinfo.3,v 1.4 1999/05/10 17:56:28 aaron Exp $
+.\" $OpenBSD: getmntinfo.3,v 1.5 1999/05/16 19:54:52 alex Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -86,8 +86,8 @@ or
.Xr malloc 3 .
.Sh SEE ALSO
.Xr getfsstat 2 ,
-.Xr statfs 2 ,
.Xr mount 2 ,
+.Xr statfs 2 ,
.Xr mount 8
.Sh HISTORY
The
diff --git a/lib/libc/gen/getpagesize.3 b/lib/libc/gen/getpagesize.3
index adf5f734b6d..b9dadbd783d 100644
--- a/lib/libc/gen/getpagesize.3
+++ b/lib/libc/gen/getpagesize.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getpagesize.3,v 1.4 1999/02/27 21:55:10 deraadt Exp $
+.\" $OpenBSD: getpagesize.3,v 1.5 1999/05/16 19:54:53 alex Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -59,9 +59,9 @@ The page size is a
page size and may not be the same as the underlying
hardware page size.
.Sh SEE ALSO
-.Xr sysconf 3 ,
+.Xr pagesize 1 ,
.Xr sbrk 2 ,
-.Xr pagesize 1
+.Xr sysconf 3
.Sh HISTORY
The
.Nm
diff --git a/lib/libc/gen/isalnum.3 b/lib/libc/gen/isalnum.3
index dd1d6cbb7dd..d6d22734fac 100644
--- a/lib/libc/gen/isalnum.3
+++ b/lib/libc/gen/isalnum.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isalnum.3,v 1.2 1996/08/19 08:24:26 tholo Exp $
+.\" $OpenBSD: isalnum.3,v 1.3 1999/05/16 19:54:53 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -72,10 +72,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/isalpha.3 b/lib/libc/gen/isalpha.3
index de6c2af4cb4..d6d889eb8c6 100644
--- a/lib/libc/gen/isalpha.3
+++ b/lib/libc/gen/isalpha.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isalpha.3,v 1.2 1996/08/19 08:24:28 tholo Exp $
+.\" $OpenBSD: isalpha.3,v 1.3 1999/05/16 19:54:54 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -88,10 +88,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/isascii.3 b/lib/libc/gen/isascii.3
index 83f4fe93bf7..c349530c4ed 100644
--- a/lib/libc/gen/isascii.3
+++ b/lib/libc/gen/isascii.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isascii.3,v 1.4 1998/09/06 22:23:18 aaron Exp $
+.\" $OpenBSD: isascii.3,v 1.5 1999/05/16 19:54:54 alex Exp $
.\"
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -61,10 +61,10 @@ equal to 0177.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/isblank.3 b/lib/libc/gen/isblank.3
index b8e18ff141d..6b1c56a896a 100644
--- a/lib/libc/gen/isblank.3
+++ b/lib/libc/gen/isblank.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isblank.3,v 1.2 1996/08/19 08:24:34 tholo Exp $
+.\" $OpenBSD: isblank.3,v 1.3 1999/05/16 19:54:54 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -69,9 +69,9 @@ The
macro returns zero if the character tests false and
returns non-zero if the character tests true.
.Sh SEE ALSO
-.Xr isascii 3 ,
.Xr isalnum 3 ,
.Xr isalpha 3 ,
+.Xr isascii 3 ,
.Xr iscntrl 3 ,
.Xr isdigit 3 ,
.Xr isgraph 3 ,
@@ -81,8 +81,8 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
diff --git a/lib/libc/gen/iscntrl.3 b/lib/libc/gen/iscntrl.3
index 8b040c74d5d..72f87306e60 100644
--- a/lib/libc/gen/iscntrl.3
+++ b/lib/libc/gen/iscntrl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: iscntrl.3,v 1.2 1996/08/19 08:24:36 tholo Exp $
+.\" $OpenBSD: iscntrl.3,v 1.3 1999/05/16 19:54:55 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -67,10 +67,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/isdigit.3 b/lib/libc/gen/isdigit.3
index b06e41a33b4..d0c35be439e 100644
--- a/lib/libc/gen/isdigit.3
+++ b/lib/libc/gen/isdigit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isdigit.3,v 1.2 1996/08/19 08:24:40 tholo Exp $
+.\" $OpenBSD: isdigit.3,v 1.3 1999/05/16 19:54:55 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -68,10 +68,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/isgraph.3 b/lib/libc/gen/isgraph.3
index ce08284f805..f142dd25909 100644
--- a/lib/libc/gen/isgraph.3
+++ b/lib/libc/gen/isgraph.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isgraph.3,v 1.2 1996/08/19 08:24:42 tholo Exp $
+.\" $OpenBSD: isgraph.3,v 1.3 1999/05/16 19:54:56 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -67,10 +67,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/islower.3 b/lib/libc/gen/islower.3
index b8c6f272e60..35bbd0dd8f8 100644
--- a/lib/libc/gen/islower.3
+++ b/lib/libc/gen/islower.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: islower.3,v 1.2 1996/08/19 08:24:46 tholo Exp $
+.\" $OpenBSD: islower.3,v 1.3 1999/05/16 19:54:56 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -81,10 +81,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/isprint.3 b/lib/libc/gen/isprint.3
index 8c4360436c5..f214fdda5da 100644
--- a/lib/libc/gen/isprint.3
+++ b/lib/libc/gen/isprint.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isprint.3,v 1.2 1996/08/19 08:24:48 tholo Exp $
+.\" $OpenBSD: isprint.3,v 1.3 1999/05/16 19:54:57 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -67,10 +67,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/ispunct.3 b/lib/libc/gen/ispunct.3
index e1c13b9ef14..8f9327d24a6 100644
--- a/lib/libc/gen/ispunct.3
+++ b/lib/libc/gen/ispunct.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ispunct.3,v 1.2 1996/08/19 08:24:51 tholo Exp $
+.\" $OpenBSD: ispunct.3,v 1.3 1999/05/16 19:54:57 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -70,10 +70,10 @@ returns non-zero if the character tests true.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/isspace.3 b/lib/libc/gen/isspace.3
index 44d32c06f4b..6ea3db65f6d 100644
--- a/lib/libc/gen/isspace.3
+++ b/lib/libc/gen/isspace.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isspace.3,v 1.2 1996/08/19 08:24:52 tholo Exp $
+.\" $OpenBSD: isspace.3,v 1.3 1999/05/16 19:54:58 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -94,10 +94,10 @@ returns non-zero if the character tests true.
.Xr ispunct 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/isupper.3 b/lib/libc/gen/isupper.3
index 5be3979ce30..27e144d1b23 100644
--- a/lib/libc/gen/isupper.3
+++ b/lib/libc/gen/isupper.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isupper.3,v 1.2 1996/08/19 08:24:54 tholo Exp $
+.\" $OpenBSD: isupper.3,v 1.3 1999/05/16 19:54:58 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -79,10 +79,10 @@ returns non-zero if the character tests true.
.Xr ispunct 3 ,
.Xr isspace 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/isxdigit.3 b/lib/libc/gen/isxdigit.3
index e28e7de03c0..169938242ed 100644
--- a/lib/libc/gen/isxdigit.3
+++ b/lib/libc/gen/isxdigit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isxdigit.3,v 1.2 1996/08/19 08:24:56 tholo Exp $
+.\" $OpenBSD: isxdigit.3,v 1.3 1999/05/16 19:54:58 alex Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -67,10 +67,10 @@ returns non-zero if the character tests true.
.Xr ispunct 3 ,
.Xr isspace 3 ,
.Xr isupper 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/ldexp.3 b/lib/libc/gen/ldexp.3
index 258f18f227e..5699c82838f 100644
--- a/lib/libc/gen/ldexp.3
+++ b/lib/libc/gen/ldexp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ldexp.3,v 1.2 1996/08/19 08:24:58 tholo Exp $
+.\" $OpenBSD: ldexp.3,v 1.3 1999/05/16 19:54:59 alex Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -68,8 +68,8 @@ and the value
is returned.
.Sh SEE ALSO
.Xr frexp 3 ,
-.Xr modf 3 ,
-.Xr math 3
+.Xr math 3 ,
+.Xr modf 3
.Sh STANDARDS
The
.Fn ldexp
diff --git a/lib/libc/gen/nice.3 b/lib/libc/gen/nice.3
index 0c0bf3483b8..0140b647c9e 100644
--- a/lib/libc/gen/nice.3
+++ b/lib/libc/gen/nice.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nice.3,v 1.4 1998/04/28 07:36:33 deraadt Exp $
+.\" $OpenBSD: nice.3,v 1.5 1999/05/16 19:54:59 alex Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -64,8 +64,8 @@ returns the same values as
.Xr setpriority 2 .
.Sh SEE ALSO
.Xr nice 1 ,
-.Xr setpriority 2 ,
.Xr fork 2 ,
+.Xr setpriority 2 ,
.Xr renice 8
.Sh HISTORY
A
diff --git a/lib/libc/gen/popen.3 b/lib/libc/gen/popen.3
index 0ba246efd69..088e299d7fa 100644
--- a/lib/libc/gen/popen.3
+++ b/lib/libc/gen/popen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: popen.3,v 1.2 1996/08/19 08:25:18 tholo Exp $
+.\" $OpenBSD: popen.3,v 1.3 1999/05/16 19:55:00 alex Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -139,12 +139,12 @@ The
function does not reliably set
.Va errno .
.Sh SEE ALSO
-.Xr fork 2 ,
.Xr sh 1 ,
+.Xr fork 2 ,
.Xr pipe 2 ,
.Xr wait4 2 ,
-.Xr fflush 3 ,
.Xr fclose 3 ,
+.Xr fflush 3 ,
.Xr fopen 3 ,
.Xr stdio 3 ,
.Xr system 3
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 3236d56b902..e113e1e7b88 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: signal.3,v 1.7 1999/05/10 17:56:28 aaron Exp $
+.\" $OpenBSD: signal.3,v 1.8 1999/05/16 19:55:00 alex Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -215,8 +215,8 @@ or
.Ev SIGSTOP .
.Sh SEE ALSO
.Xr kill 1 ,
-.Xr ptrace 2 ,
.Xr kill 2 ,
+.Xr ptrace 2 ,
.Xr sigaction 2 ,
.Xr sigaltstack 2 ,
.Xr sigprocmask 2 ,
diff --git a/lib/libc/gen/toascii.3 b/lib/libc/gen/toascii.3
index 0877441a0e8..56f3f736b84 100644
--- a/lib/libc/gen/toascii.3
+++ b/lib/libc/gen/toascii.3
@@ -53,9 +53,9 @@ The
.Fn toascii
function always returns a valid ASCII character.
.Sh SEE ALSO
-.Xr isascii 3 ,
.Xr isalnum 3 ,
.Xr isalpha 3 ,
+.Xr isascii 3 ,
.Xr iscntrl 3 ,
.Xr isdigit 3 ,
.Xr isgraph 3 ,
@@ -65,7 +65,7 @@ function always returns a valid ASCII character.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
diff --git a/lib/libc/gen/tolower.3 b/lib/libc/gen/tolower.3
index a54e1bbfca9..43352b5340f 100644
--- a/lib/libc/gen/tolower.3
+++ b/lib/libc/gen/tolower.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tolower.3,v 1.5 1997/08/16 06:02:43 millert Exp $
+.\" $OpenBSD: tolower.3,v 1.6 1999/05/16 19:55:01 alex Exp $
.\"
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -78,9 +78,10 @@ is returned; otherwise the output is undefined.
.\" .Xr islower
.\" is true.
.Sh SEE ALSO
-.Xr isascii 3 ,
+.Xr _toupper 3 ,
.Xr isalnum 3 ,
.Xr isalpha 3 ,
+.Xr isascii 3 ,
.Xr iscntrl 3 ,
.Xr isdigit 3 ,
.Xr isgraph 3 ,
@@ -90,10 +91,9 @@ is returned; otherwise the output is undefined.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr toupper 3 ,
-.Xr _toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/toupper.3 b/lib/libc/gen/toupper.3
index 2bc4a616040..d342d8afed9 100644
--- a/lib/libc/gen/toupper.3
+++ b/lib/libc/gen/toupper.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: toupper.3,v 1.7 1997/08/16 06:02:43 millert Exp $
+.\" $OpenBSD: toupper.3,v 1.8 1999/05/16 19:55:01 alex Exp $
.\"
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -78,9 +78,10 @@ is returned; otherwise the output is undefined.
.\" .Xr isupper
.\" is true.
.Sh SEE ALSO
-.Xr isascii 3 ,
+.Xr _tolower 3 ,
.Xr isalnum 3 ,
.Xr isalpha 3 ,
+.Xr isascii 3 ,
.Xr iscntrl 3 ,
.Xr isdigit 3 ,
.Xr isgraph 3 ,
@@ -90,10 +91,9 @@ is returned; otherwise the output is undefined.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
-.Xr _tolower 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/gen/ualarm.3 b/lib/libc/gen/ualarm.3
index b6019381326..78f747af450 100644
--- a/lib/libc/gen/ualarm.3
+++ b/lib/libc/gen/ualarm.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ualarm.3,v 1.7 1999/05/10 17:56:28 aaron Exp $
+.\" $OpenBSD: ualarm.3,v 1.8 1999/05/16 19:55:02 alex Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -79,11 +79,11 @@ is 2147483647.
.Xr getitimer 2 ,
.Xr setitimer 2 ,
.Xr sigaction 2 ,
+.Xr alarm 3 ,
.Xr signal 3 ,
.Xr sigpause 3 ,
.Xr sigvec 3 ,
.Xr sleep 3 ,
-.Xr alarm 3 ,
.Xr usleep 3
.Sh STANDARDS
The
diff --git a/lib/libc/gen/unvis.3 b/lib/libc/gen/unvis.3
index 32abbbacc93..c3a8de70fa2 100644
--- a/lib/libc/gen/unvis.3
+++ b/lib/libc/gen/unvis.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: unvis.3,v 1.4 1998/06/15 17:55:02 mickey Exp $
+.\" $OpenBSD: unvis.3,v 1.5 1999/05/16 19:55:02 alex Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -154,8 +154,8 @@ if (unvis(&out, (char)0, &state, UNVIS_END) == UNVIS_VALID)
(void) putchar(out);
.Ed
.Sh SEE ALSO
-.Xr vis 1 ,
.Xr unvis 1 ,
+.Xr vis 1 ,
.Xr vis 3
.Sh HISTORY
The
diff --git a/lib/libc/gen/vis.3 b/lib/libc/gen/vis.3
index 23207f8e076..5f546f4716b 100644
--- a/lib/libc/gen/vis.3
+++ b/lib/libc/gen/vis.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vis.3,v 1.4 1998/06/15 17:55:04 mickey Exp $
+.\" $OpenBSD: vis.3,v 1.5 1999/05/16 19:55:03 alex Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -255,8 +255,8 @@ meta characters as
With this flag set, the encoding is
ambiguous and non-invertible.
.Sh SEE ALSO
-.Xr vis 1 ,
.Xr unvis 1 ,
+.Xr vis 1 ,
.Xr unvis 3
.Sh HISTORY
These functions first appeared in
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3
index 5864b75839d..7a4e9cf5ba2 100644
--- a/lib/libc/net/getnetent.3
+++ b/lib/libc/net/getnetent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getnetent.3,v 1.5 1998/03/16 05:06:56 millert Exp $
+.\" $OpenBSD: getnetent.3,v 1.6 1999/05/16 19:55:04 alex Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -128,8 +128,8 @@ Null pointer
.Dv EOF
or error.
.Sh SEE ALSO
-.Xr networks 5 ,
-.Xr resolver 3
+.Xr resolver 3 ,
+.Xr networks 5
.Sh HISTORY
The
.Fn getnetent ,
diff --git a/lib/libc/net/ns.3 b/lib/libc/net/ns.3
index 6e096d9f4b8..c9bc90cd392 100644
--- a/lib/libc/net/ns.3
+++ b/lib/libc/net/ns.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ns.3,v 1.2 1996/08/19 08:29:29 tholo Exp $
+.\" $OpenBSD: ns.3,v 1.3 1999/05/16 19:55:05 alex Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -112,7 +112,7 @@ None. (See
.Sx BUGS . )
.Sh SEE ALSO
.Xr hosts 5 ,
-.Xr networks 5 ,
+.Xr networks 5
.Sh HISTORY
The
.Fn ns_addr
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3
index e69e8228340..60db135543f 100644
--- a/lib/libc/net/rcmd.3
+++ b/lib/libc/net/rcmd.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcmd.3,v 1.10 1997/09/29 18:25:47 deraadt Exp $
+.\" $OpenBSD: rcmd.3,v 1.11 1999/05/16 19:55:05 alex Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -215,11 +215,11 @@ is overloaded to mean ``All network ports in use.''
.Xr rlogin 1 ,
.Xr rsh 1 ,
.Xr intro 2 ,
-.Xr rexec 3 ,
+.Xr bindresvport 3 ,
.Xr rcmdsh 3 ,
+.Xr rexec 3 ,
.Xr rexecd 8 ,
.Xr rlogind 8 ,
-.Xr bindresvport 3 ,
.Xr rshd 8
.Sh HISTORY
These
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index 6545132d500..65d7ad7ddf5 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: resolver.3,v 1.7 1999/05/12 13:26:47 aaron Exp $
+.\" $OpenBSD: resolver.3,v 1.8 1999/05/16 19:55:06 alex Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -325,9 +325,9 @@ see
.El
.Sh SEE ALSO
.Xr gethostbyname 3 ,
-.Xr named 8 ,
.Xr resolv.conf 5 ,
.Xr hostname 7 ,
+.Xr named 8
.Pp
.%T RFC1032 ,
.%T RFC1033 ,
diff --git a/lib/libc/nls/catclose.3 b/lib/libc/nls/catclose.3
index 407e73ced36..0114ae7afc0 100644
--- a/lib/libc/nls/catclose.3
+++ b/lib/libc/nls/catclose.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: catclose.3,v 1.2 1996/08/19 08:30:04 tholo Exp $
+.\" $OpenBSD: catclose.3,v 1.3 1999/05/16 19:55:07 alex Exp $
.\"
.\" Written by J.T. Conklin <jtc@netbsd.org>.
.\" Public domain.
@@ -19,8 +19,8 @@ The
function closes the message catalog specified by the argument
.Fa catd .
.Sh SEE ALSO
-.Xr catopen 3 ,
-.Xr catgets 3
+.Xr catgets 3 ,
+.Xr catopen 3
.Sh STANDARDS
The
.Fn catclose
diff --git a/lib/libc/stdio/fflush.3 b/lib/libc/stdio/fflush.3
index 3649ef99c4c..99e17868058 100644
--- a/lib/libc/stdio/fflush.3
+++ b/lib/libc/stdio/fflush.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fflush.3,v 1.3 1999/02/27 21:55:40 deraadt Exp $
+.\" $OpenBSD: fflush.3,v 1.4 1999/05/16 19:55:08 alex Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -99,8 +99,8 @@ for any of the errors specified for the routine
.Xr write 2 .
.Sh SEE ALSO
.Xr write 2 ,
-.Xr fopen 3 ,
.Xr fclose 3 ,
+.Xr fopen 3 ,
.Xr setbuf 3
.Sh STANDARDS
The
diff --git a/lib/libc/stdio/fputs.3 b/lib/libc/stdio/fputs.3
index 486b52455db..4f2f38fdeaf 100644
--- a/lib/libc/stdio/fputs.3
+++ b/lib/libc/stdio/fputs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fputs.3,v 1.2 1996/08/19 08:32:43 tholo Exp $
+.\" $OpenBSD: fputs.3,v 1.3 1999/05/16 19:55:08 alex Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -95,8 +95,8 @@ may also fail and set
for any of the errors specified for the routines
.Xr write 2 .
.Sh SEE ALSO
-.Xr putc 3 ,
.Xr ferror 3 ,
+.Xr putc 3 ,
.Xr stdio 3
.Sh STANDARDS
The functions
diff --git a/lib/libc/stdio/getc.3 b/lib/libc/stdio/getc.3
index f429066c7c1..a98141b13a3 100644
--- a/lib/libc/stdio/getc.3
+++ b/lib/libc/stdio/getc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getc.3,v 1.3 1999/03/12 03:19:33 pjanzen Exp $
+.\" $OpenBSD: getc.3,v 1.4 1999/05/16 19:55:08 alex Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -107,8 +107,8 @@ until the condition is cleared with
.Xr clearerr .
.Sh SEE ALSO
.Xr ferror 3 ,
-.Xr fread 3 ,
.Xr fopen 3 ,
+.Xr fread 3 ,
.Xr putc 3 ,
.Xr ungetc 3
.Sh STANDARDS
diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3
index e417fb7d152..ffe868fe31e 100644
--- a/lib/libc/stdio/mktemp.3
+++ b/lib/libc/stdio/mktemp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mktemp.3,v 1.13 1998/12/15 19:31:17 deraadt Exp $
+.\" $OpenBSD: mktemp.3,v 1.14 1999/05/16 19:55:09 alex Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -290,9 +290,9 @@ fails with an errno of
.Xr mkdir 2 ,
.Xr open 2 ,
.Xr stat 2 ,
+.Xr tempnam 3 ,
.Xr tmpfile 3 ,
-.Xr tmpnam 3 ,
-.Xr tempnam 3
+.Xr tmpnam 3
.Sh HISTORY
A
.Fn mktemp
diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3
index 160a9890807..49e5fe48832 100644
--- a/lib/libc/stdio/scanf.3
+++ b/lib/libc/stdio/scanf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: scanf.3,v 1.2 1996/08/19 08:33:03 tholo Exp $
+.\" $OpenBSD: scanf.3,v 1.3 1999/05/16 19:55:09 alex Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -373,11 +373,11 @@ end-of-file occurs. If an error or end-of-file occurs after conversion
has begun,
the number of conversions which were successfully completed is returned.
.Sh SEE ALSO
-.Xr strtol 3 ,
-.Xr strtoul 3 ,
-.Xr strtod 3 ,
.Xr getc 3 ,
-.Xr printf 3
+.Xr printf 3 ,
+.Xr strtod 3 ,
+.Xr strtol 3 ,
+.Xr strtoul 3
.Sh STANDARDS
The functions
.Fn fscanf ,
diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3
index 513406c13f5..d7b6f99b2cb 100644
--- a/lib/libc/stdio/setbuf.3
+++ b/lib/libc/stdio/setbuf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setbuf.3,v 1.5 1999/05/12 13:26:48 aaron Exp $
+.\" $OpenBSD: setbuf.3,v 1.6 1999/05/16 19:55:10 alex Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -170,12 +170,12 @@ function returns what the equivalent
.Fn setvbuf
would have returned.
.Sh SEE ALSO
-.Xr fopen 3 ,
.Xr fclose 3 ,
+.Xr fopen 3 ,
.Xr fread 3 ,
.Xr malloc 3 ,
-.Xr puts 3 ,
-.Xr printf 3
+.Xr printf 3 ,
+.Xr puts 3
.Sh STANDARDS
The
.Fn setbuf
diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3
index 3c33fe14ae0..061d03d29f0 100644
--- a/lib/libc/stdio/stdio.3
+++ b/lib/libc/stdio/stdio.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stdio.3,v 1.7 1999/05/12 13:26:48 aaron Exp $
+.\" $OpenBSD: stdio.3,v 1.8 1999/05/16 19:55:11 alex Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -205,8 +205,8 @@ and
exist and will be used if the macro
definitions are explicitly removed.
.Sh SEE ALSO
-.Xr open 2 ,
.Xr close 2 ,
+.Xr open 2 ,
.Xr read 2 ,
.Xr write 2
.Sh BUGS
diff --git a/lib/libc/stdio/ungetc.3 b/lib/libc/stdio/ungetc.3
index 039d472e508..4a2008f74f5 100644
--- a/lib/libc/stdio/ungetc.3
+++ b/lib/libc/stdio/ungetc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ungetc.3,v 1.2 1996/08/19 08:33:10 tholo Exp $
+.\" $OpenBSD: ungetc.3,v 1.3 1999/05/16 19:55:11 alex Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -85,8 +85,8 @@ character equals
.Dv EOF ,
the operation will fail and the stream will remain unchanged.
.Sh SEE ALSO
-.Xr getc 3 ,
.Xr fseek 3 ,
+.Xr getc 3 ,
.Xr setvbuf 3
.Sh STANDARDS
The
diff --git a/lib/libc/stdlib/abs.3 b/lib/libc/stdlib/abs.3
index 77f82b9402a..ca203c4e60d 100644
--- a/lib/libc/stdlib/abs.3
+++ b/lib/libc/stdlib/abs.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: abs.3,v 1.2 1996/08/19 08:33:21 tholo Exp $
+.\" $OpenBSD: abs.3,v 1.3 1999/05/16 19:55:12 alex Exp $
.\"
.Dd June 29, 1991
.Dt ABS 3
@@ -59,10 +59,10 @@ function
returns
the absolute value.
.Sh SEE ALSO
-.Xr floor 3 ,
-.Xr labs 3 ,
.Xr cabs 3 ,
+.Xr floor 3 ,
.Xr hypot 3 ,
+.Xr labs 3 ,
.Xr math 3
.Sh STANDARDS
The
diff --git a/lib/libc/stdlib/alloca.3 b/lib/libc/stdlib/alloca.3
index 92d220beecd..a172cb4c704 100644
--- a/lib/libc/stdlib/alloca.3
+++ b/lib/libc/stdlib/alloca.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: alloca.3,v 1.4 1999/05/10 17:56:28 aaron Exp $
+.\" $OpenBSD: alloca.3,v 1.5 1999/05/16 19:55:13 alex Exp $
.\"
.Dd May 2, 1991
.Dt ALLOCA 3
@@ -59,7 +59,7 @@ function returns a pointer to the beginning of the allocated space.
.Xr brk 2 ,
.Xr calloc 3 ,
.Xr malloc 3 ,
-.Xr realloc 3 ,
+.Xr realloc 3
.Sh BUGS
The
.Fn alloca
diff --git a/lib/libc/stdlib/calloc.3 b/lib/libc/stdlib/calloc.3
index 13a912169c6..9bd7f1d8da6 100644
--- a/lib/libc/stdlib/calloc.3
+++ b/lib/libc/stdlib/calloc.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: calloc.3,v 1.3 1996/12/10 09:06:10 deraadt Exp $
+.\" $OpenBSD: calloc.3,v 1.4 1999/05/16 19:55:13 alex Exp $
.\"
.Dd June 29, 1991
.Dt CALLOC 3
@@ -60,9 +60,9 @@ function returns
a pointer to
the allocated space if successful; otherwise a null pointer is returned.
.Sh SEE ALSO
+.Xr free 3 ,
.Xr malloc 3 ,
-.Xr realloc 3 ,
-.Xr free 3
+.Xr realloc 3
.Sh STANDARDS
The
.Fn calloc
diff --git a/lib/libc/stdlib/div.3 b/lib/libc/stdlib/div.3
index 0d8c56d86b7..c766d37fab1 100644
--- a/lib/libc/stdlib/div.3
+++ b/lib/libc/stdlib/div.3
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: div.3,v 1.2 1996/08/19 08:33:28 tholo Exp $
+.\" $OpenBSD: div.3,v 1.3 1999/05/16 19:55:14 alex Exp $
.\"
.Dd April 19, 1991
.Dt DIV 3
@@ -59,8 +59,8 @@ and
.Fa rem .
.Sh SEE ALSO
.Xr ldiv 3 ,
-.Xr qdiv 3 ,
-.Xr math 3
+.Xr math 3 ,
+.Xr qdiv 3
.Sh STANDARDS
The
.Fn div
diff --git a/lib/libc/stdlib/labs.3 b/lib/libc/stdlib/labs.3
index 05eae329df2..2d9d6029dbe 100644
--- a/lib/libc/stdlib/labs.3
+++ b/lib/libc/stdlib/labs.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: labs.3,v 1.2 1996/08/19 08:33:34 tholo Exp $
+.\" $OpenBSD: labs.3,v 1.3 1999/05/16 19:55:14 alex Exp $
.\"
.Dd June 29, 1991
.Dt LABS 3
@@ -53,8 +53,8 @@ returns the absolute value of the long integer
.Ar j .
.Sh SEE ALSO
.Xr abs 3 ,
-.Xr floor 3 ,
.Xr cabs 3 ,
+.Xr floor 3 ,
.Xr math 3
.Sh STANDARDS
The
diff --git a/lib/libc/stdlib/ldiv.3 b/lib/libc/stdlib/ldiv.3
index 8757f4ddd5b..f5f22881b9b 100644
--- a/lib/libc/stdlib/ldiv.3
+++ b/lib/libc/stdlib/ldiv.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: ldiv.3,v 1.2 1996/08/19 08:33:35 tholo Exp $
+.\" $OpenBSD: ldiv.3,v 1.3 1999/05/16 19:55:15 alex Exp $
.\"
.Dd June 29, 1991
.Dt LDIV 3
@@ -61,8 +61,8 @@ and
.Ar rem .
.Sh SEE ALSO
.Xr div 3 ,
-.Xr qdiv 3 ,
-.Xr math 3
+.Xr math 3 ,
+.Xr qdiv 3
.Sh STANDARDS
The
.Fn ldiv
diff --git a/lib/libc/stdlib/memory.3 b/lib/libc/stdlib/memory.3
index 712c7c45d28..44203288e59 100644
--- a/lib/libc/stdlib/memory.3
+++ b/lib/libc/stdlib/memory.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: memory.3,v 1.2 1996/08/19 08:33:37 tholo Exp $
+.\" $OpenBSD: memory.3,v 1.3 1999/05/16 19:55:15 alex Exp $
.\"
.Dd May 2, 1991
.Dt MEMORY 3
@@ -58,11 +58,11 @@ These functions allocate and free memory for the calling process.
They are described in the
individual manual pages.
.Sh SEE ALSO
+.Xr alloca 3 ,
.Xr calloc 3 ,
.Xr free 3 ,
.Xr malloc 3 ,
-.Xr realloc 3 ,
-.Xr alloca 3 ,
+.Xr realloc 3
.Sh STANDARDS
These functions, with the exception of
.Fn alloca
diff --git a/lib/libc/stdlib/qabs.3 b/lib/libc/stdlib/qabs.3
index 92a8bdc4b9a..cdfaa81bf9c 100644
--- a/lib/libc/stdlib/qabs.3
+++ b/lib/libc/stdlib/qabs.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: qabs.3,v 1.2 1996/08/19 08:33:40 tholo Exp $
+.\" $OpenBSD: qabs.3,v 1.3 1999/05/16 19:55:16 alex Exp $
.\"
.Dd June 29, 1991
.Dt QABS 3
@@ -53,9 +53,9 @@ returns the absolute value of the quad integer
.Ar j .
.Sh SEE ALSO
.Xr abs 3 ,
-.Xr labs 3 ,
-.Xr floor 3 ,
.Xr cabs 3 ,
+.Xr floor 3 ,
+.Xr labs 3 ,
.Xr math 3
.Sh BUGS
The absolute value of the most negative integer remains negative.
diff --git a/lib/libc/string/string.3 b/lib/libc/string/string.3
index 323d4f30408..8ee414fea85 100644
--- a/lib/libc/string/string.3
+++ b/lib/libc/string/string.3
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: string.3,v 1.3 1998/09/06 22:23:18 aaron Exp $
+.\" $OpenBSD: string.3,v 1.4 1999/05/16 19:55:17 alex Exp $
.\"
.Dd April 19, 1991
.Dt STRING 3
@@ -114,23 +114,23 @@ Except as noted in their specific manual pages,
the string functions do not test the destination
for size limitations.
.Sh SEE ALSO
+.Xr bstring 3 ,
.Xr index 3 ,
+.Xr rindex 3 ,
+.Xr strcasecmp 3 ,
.Xr strcat 3 ,
.Xr strchr 3 ,
-.Xr strrchr 3 ,
.Xr strcmp 3 ,
-.Xr strcasecmp 3 ,
.Xr strcpy 3 ,
+.Xr strcspn 3 ,
.Xr strerror 3 ,
.Xr strlen 3 ,
.Xr strpbrk 3 ,
+.Xr strrchr 3 ,
.Xr strsep 3 ,
.Xr strspn 3 ,
-.Xr strcspn 3 ,
.Xr strstr 3 ,
-.Xr strtok 3 ,
-.Xr rindex 3
-.Xr bstring 3
+.Xr strtok 3
.Sh STANDARDS
The
.Fn strcat ,
diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3
index 1e46ef2e90e..357502c0d7a 100644
--- a/lib/libc/string/strlcpy.3
+++ b/lib/libc/string/strlcpy.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strlcpy.3,v 1.3 1998/11/11 17:12:02 espie Exp $
+.\" $OpenBSD: strlcpy.3,v 1.4 1999/05/16 19:55:18 alex Exp $
.\"
.\" Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -143,5 +143,5 @@ and
As a matter of fact, the first version of this manual page got it wrong.
.Sh SEE ALSO
.Xr snprintf 3 ,
-.Xr strncpy 3 ,
-.Xr strncat 3
+.Xr strncat 3 ,
+.Xr strncpy 3
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2
index f6349a64a3b..32c52d8cc04 100644
--- a/lib/libc/sys/bind.2
+++ b/lib/libc/sys/bind.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bind.2,v 1.5 1999/02/27 21:56:07 deraadt Exp $
+.\" $OpenBSD: bind.2,v 1.6 1999/05/16 19:55:19 alex Exp $
.\" $NetBSD: bind.2,v 1.8 1995/10/12 15:40:46 jtc Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -120,9 +120,9 @@ An empty pathname was specified.
.El
.Sh SEE ALSO
.Xr connect 2 ,
+.Xr getsockname 2 ,
.Xr listen 2 ,
-.Xr socket 2 ,
-.Xr getsockname 2
+.Xr socket 2
.Sh HISTORY
The
.Fn bind
diff --git a/lib/libc/sys/brk.2 b/lib/libc/sys/brk.2
index 0dff5b17711..a13f525884c 100644
--- a/lib/libc/sys/brk.2
+++ b/lib/libc/sys/brk.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: brk.2,v 1.6 1998/07/06 18:27:07 deraadt Exp $
+.\" $OpenBSD: brk.2,v 1.7 1999/05/16 19:55:19 alex Exp $
.\" $NetBSD: brk.2,v 1.7 1995/02/27 12:31:57 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -135,9 +135,9 @@ to support the expansion.
.Sh SEE ALSO
.Xr execve 2 ,
.Xr getrlimit 2 ,
-.Xr malloc 3 ,
.Xr mmap 2 ,
-.Xr end 3
+.Xr end 3 ,
+.Xr malloc 3
.Sh BUGS
Setting the break may fail due to a temporary lack of
swap space. It is not possible to distinguish this
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2
index b76033f50f1..147aebb9388 100644
--- a/lib/libc/sys/chmod.2
+++ b/lib/libc/sys/chmod.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chmod.2,v 1.5 1999/02/27 21:56:09 deraadt Exp $
+.\" $OpenBSD: chmod.2,v 1.6 1999/05/16 19:55:20 alex Exp $
.\" $NetBSD: chmod.2,v 1.7 1995/02/27 12:32:06 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -178,8 +178,8 @@ An I/O error occurred while reading from or writing to the file system.
.El
.Sh SEE ALSO
.Xr chmod 1 ,
-.Xr open 2 ,
.Xr chown 2 ,
+.Xr open 2 ,
.Xr stat 2 ,
.Xr sticky 8
.Sh STANDARDS
diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2
index d21a1e32c67..0f20c7d6225 100644
--- a/lib/libc/sys/chown.2
+++ b/lib/libc/sys/chown.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chown.2,v 1.4 1999/02/27 21:56:10 deraadt Exp $
+.\" $OpenBSD: chown.2,v 1.5 1999/05/16 19:55:20 alex Exp $
.\" $NetBSD: chown.2,v 1.10 1995/10/12 15:40:47 jtc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
@@ -141,10 +141,10 @@ The named file resides on a read-only file system.
An I/O error occurred while reading from or writing to the file system.
.El
.Sh SEE ALSO
-.Xr chown 8 ,
.Xr chgrp 1 ,
.Xr chmod 2 ,
-.Xr flock 2
+.Xr flock 2 ,
+.Xr chown 8
.Sh STANDARDS
The
.Fn chown
diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2
index 3b979a220e0..e0e07fbdf4d 100644
--- a/lib/libc/sys/close.2
+++ b/lib/libc/sys/close.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: close.2,v 1.5 1999/05/11 02:34:03 aaron Exp $
+.\" $OpenBSD: close.2,v 1.6 1999/05/16 19:55:20 alex Exp $
.\" $NetBSD: close.2,v 1.5 1995/02/27 12:32:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
@@ -118,13 +118,13 @@ An interrupt was received.
.El
.Sh SEE ALSO
.Xr accept 2 ,
+.Xr execve 2 ,
+.Xr fcntl 2 ,
.Xr flock 2 ,
.Xr open 2 ,
.Xr pipe 2 ,
.Xr socket 2 ,
-.Xr socketpair 2 ,
-.Xr execve 2 ,
-.Xr fcntl 2
+.Xr socketpair 2
.Sh STANDARDS
.Fn close
conforms to
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2
index 1a15e230b23..dfa31649db5 100644
--- a/lib/libc/sys/connect.2
+++ b/lib/libc/sys/connect.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: connect.2,v 1.10 1999/02/15 19:04:19 millert Exp $
+.\" $OpenBSD: connect.2,v 1.11 1999/05/16 19:55:21 alex Exp $
.\" $NetBSD: connect.2,v 1.8 1995/10/12 15:40:48 jtc Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -151,11 +151,11 @@ Too many symbolic links were encountered in translating the pathname.
.El
.Sh SEE ALSO
.Xr accept 2 ,
+.Xr getsockname 2 ,
+.Xr getsockopt 2 ,
.Xr poll 2 ,
.Xr select 2 ,
-.Xr socket 2 ,
-.Xr getsockopt 2 ,
-.Xr getsockname 2
+.Xr socket 2
.Sh HISTORY
The
.Fn connect
diff --git a/lib/libc/sys/dup.2 b/lib/libc/sys/dup.2
index 9f4fde80df6..244c5e00e10 100644
--- a/lib/libc/sys/dup.2
+++ b/lib/libc/sys/dup.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dup.2,v 1.4 1999/02/27 21:56:12 deraadt Exp $
+.\" $OpenBSD: dup.2,v 1.5 1999/05/16 19:55:23 alex Exp $
.\" $NetBSD: dup.2,v 1.4 1995/02/27 12:32:21 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -119,9 +119,9 @@ Too many descriptors are active.
.El
.Sh SEE ALSO
.Xr accept 2 ,
-.Xr open 2 ,
.Xr close 2 ,
.Xr fcntl 2 ,
+.Xr open 2 ,
.Xr pipe 2 ,
.Xr socket 2 ,
.Xr socketpair 2 ,
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 7d7c25529cf..1847a0632e4 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: execve.2,v 1.7 1999/05/10 17:56:29 aaron Exp $
+.\" $OpenBSD: execve.2,v 1.8 1999/05/16 19:55:23 alex Exp $
.\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -270,9 +270,9 @@ is ``root'', then the program has some of the powers
of a super-user as well.
.Sh SEE ALSO
.Xr _exit 2 ,
-.Xr exit 3 ,
.Xr fork 2 ,
.Xr execl 3 ,
+.Xr exit 3 ,
.Xr environ 7
.Sh HISTORY
The
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index 371fc315224..23efc355dc4 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fcntl.2,v 1.10 1999/05/10 17:56:29 aaron Exp $
+.\" $OpenBSD: fcntl.2,v 1.11 1999/05/16 19:55:23 alex Exp $
.\" $NetBSD: fcntl.2,v 1.6 1995/02/27 12:32:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -475,9 +475,9 @@ the process ID given as argument is not in use.
.Xr close 2 ,
.Xr execve 2 ,
.Xr flock 2 ,
-.Xr getdtablesize 3 ,
.Xr open 2 ,
-.Xr sigaction 2
+.Xr sigaction 2 ,
+.Xr getdtablesize 3
.Sh HISTORY
The
.Fn fcntl
diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2
index d3b8de7ddf0..770143e435b 100644
--- a/lib/libc/sys/flock.2
+++ b/lib/libc/sys/flock.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: flock.2,v 1.8 1999/02/27 21:56:15 deraadt Exp $
+.\" $OpenBSD: flock.2,v 1.9 1999/05/16 19:55:24 alex Exp $
.\" $NetBSD: flock.2,v 1.5 1995/02/27 12:32:32 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -139,12 +139,12 @@ have an invalid value.
The referenced descriptor is not of the correct type.
.El
.Sh SEE ALSO
-.Xr open 2 ,
.Xr close 2 ,
.Xr dup 2 ,
.Xr execve 2 ,
.Xr fcntl 2 ,
-.Xr fork 2
+.Xr fork 2 ,
+.Xr open 2
.Sh HISTORY
The
.Fn flock
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2
index 1266e118810..60e3b28abc5 100644
--- a/lib/libc/sys/getdirentries.2
+++ b/lib/libc/sys/getdirentries.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getdirentries.2,v 1.6 1999/02/27 21:56:17 deraadt Exp $
+.\" $OpenBSD: getdirentries.2,v 1.7 1999/05/16 19:55:25 alex Exp $
.\" $NetBSD: getdirentries.2,v 1.7 1995/10/12 15:40:50 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -154,8 +154,8 @@ An
error occurred while reading from or writing to the file system.
.El
.Sh SEE ALSO
-.Xr open 2 ,
-.Xr lseek 2
+.Xr lseek 2 ,
+.Xr open 2
.Sh HISTORY
The
.Fn getdirentries
diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2
index d64e76d7f2b..83d609fb443 100644
--- a/lib/libc/sys/getgid.2
+++ b/lib/libc/sys/getgid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getgid.2,v 1.4 1999/02/27 21:56:18 deraadt Exp $
+.\" $OpenBSD: getgid.2,v 1.5 1999/05/16 19:55:25 alex Exp $
.\" $NetBSD: getgid.2,v 1.5 1995/02/27 12:32:53 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -73,8 +73,8 @@ functions are always successful, and no return value is reserved to
indicate an error.
.Sh SEE ALSO
.Xr getuid 2 ,
-.Xr setregid 2 ,
-.Xr setgid 2
+.Xr setgid 2 ,
+.Xr setregid 2
.Sh STANDARDS
.Fn getgid
and
diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2
index 315bf0426ee..a9e0e2a51c5 100644
--- a/lib/libc/sys/getitimer.2
+++ b/lib/libc/sys/getitimer.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getitimer.2,v 1.7 1999/03/02 10:30:34 deraadt Exp $
+.\" $OpenBSD: getitimer.2,v 1.8 1999/05/16 19:55:26 alex Exp $
.\" $NetBSD: getitimer.2,v 1.6 1995/10/12 15:40:54 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -178,10 +178,10 @@ parameter specified a time that was too large
to be handled.
.El
.Sh SEE ALSO
+.Xr gettimeofday 2 ,
.Xr poll 2 ,
.Xr select 2 ,
-.Xr sigaction 2 ,
-.Xr gettimeofday 2
+.Xr sigaction 2
.Sh HISTORY
The
.Fn getitimer
diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2
index d2a718cf5e1..99bdd6ce9e5 100644
--- a/lib/libc/sys/getpeername.2
+++ b/lib/libc/sys/getpeername.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getpeername.2,v 1.7 1999/02/27 21:56:21 deraadt Exp $
+.\" $OpenBSD: getpeername.2,v 1.8 1999/05/16 19:55:26 alex Exp $
.\" $NetBSD: getpeername.2,v 1.6 1995/10/12 15:40:56 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -85,8 +85,8 @@ process address space.
.Sh SEE ALSO
.Xr accept 2 ,
.Xr bind 2 ,
-.Xr socket 2 ,
-.Xr getsockname 2
+.Xr getsockname 2 ,
+.Xr socket 2
.Sh HISTORY
The
.Fn getpeername
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2
index 131dc3e0f7c..326f301224d 100644
--- a/lib/libc/sys/getsockopt.2
+++ b/lib/libc/sys/getsockopt.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getsockopt.2,v 1.8 1999/02/27 21:56:24 deraadt Exp $
+.\" $OpenBSD: getsockopt.2,v 1.9 1999/05/16 19:55:27 alex Exp $
.\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -337,11 +337,11 @@ this error may also be returned if
is not in a valid part of the process address space.
.El
.Sh SEE ALSO
+.Xr connect 2 ,
.Xr ioctl 2 ,
-.Xr socket 2 ,
.Xr poll 2 ,
.Xr select 2 ,
-.Xr connect 2 ,
+.Xr socket 2 ,
.Xr getprotoent 3 ,
.Xr protocols 5
.Sh BUGS
diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2
index 31479f98014..99b5312fbb6 100644
--- a/lib/libc/sys/ioctl.2
+++ b/lib/libc/sys/ioctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ioctl.2,v 1.4 1999/02/27 21:56:25 deraadt Exp $
+.\" $OpenBSD: ioctl.2,v 1.5 1999/05/16 19:55:27 alex Exp $
.\" $NetBSD: ioctl.2,v 1.5 1995/02/27 12:33:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -98,13 +98,13 @@ or
is not valid.
.El
.Sh SEE ALSO
-.Xr mt 1 ,
.Xr cdio 1 ,
.Xr chio 1 ,
+.Xr mt 1 ,
.Xr execve 2 ,
.Xr fcntl 2 ,
-.Xr tty 4 ,
-.Xr intro 4
+.Xr intro 4 ,
+.Xr tty 4
.Sh HISTORY
An
.Fn ioctl
diff --git a/lib/libc/sys/issetugid.2 b/lib/libc/sys/issetugid.2
index cc8b1b492d3..8634a9b29a2 100644
--- a/lib/libc/sys/issetugid.2
+++ b/lib/libc/sys/issetugid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: issetugid.2,v 1.14 1999/04/20 02:15:23 aaron Exp $
+.\" $OpenBSD: issetugid.2,v 1.15 1999/05/16 19:55:28 alex Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -98,10 +98,10 @@ function is always successful, and no return value is reserved to
indicate an error.
.Sh SEE ALSO
.Xr execve 2 ,
-.Xr seteuid 2 ,
-.Xr setuid 2 ,
.Xr setegid 2 ,
-.Xr setgid 2
+.Xr seteuid 2 ,
+.Xr setgid 2 ,
+.Xr setuid 2
.Sh HISTORY
The
.Fn issetugid
diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2
index e6bab36c340..fdd16f19268 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kill.2,v 1.5 1999/02/27 21:56:26 deraadt Exp $
+.\" $OpenBSD: kill.2,v 1.6 1999/05/16 19:55:28 alex Exp $
.\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -137,10 +137,10 @@ When signaling a process group, this error is returned if any members
of the group could not be signaled.
.El
.Sh SEE ALSO
-.Xr getpid 2 ,
.Xr getpgrp 2 ,
-.Xr killpg 3 ,
-.Xr sigaction 2
+.Xr getpid 2 ,
+.Xr sigaction 2 ,
+.Xr killpg 3
.Sh STANDARDS
The
.Fn kill
diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2
index ccf1686dbf3..7bb9f3cc8bf 100644
--- a/lib/libc/sys/ktrace.2
+++ b/lib/libc/sys/ktrace.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ktrace.2,v 1.3 1999/02/27 21:56:27 deraadt Exp $
+.\" $OpenBSD: ktrace.2,v 1.4 1999/05/16 19:55:29 alex Exp $
.\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $
.\"
.\" Copyright (c) 1993
@@ -156,8 +156,8 @@ Too many symbolic links were encountered in translating the pathname.
An I/O error occurred while reading from or writing to the file system.
.El
.Sh SEE ALSO
-.Xr ktrace 1 ,
-.Xr kdump 1
+.Xr kdump 1 ,
+.Xr ktrace 1
.Sh HISTORY
A
.Nm ktrace
diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2
index e7e09334fc3..707f587faf2 100644
--- a/lib/libc/sys/link.2
+++ b/lib/libc/sys/link.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: link.2,v 1.6 1999/02/27 21:56:27 deraadt Exp $
+.\" $OpenBSD: link.2,v 1.7 1999/05/16 19:55:29 alex Exp $
.\" $NetBSD: link.2,v 1.7 1995/02/27 12:34:01 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -158,8 +158,8 @@ One of the pathnames specified
is outside the process's allocated address space.
.El
.Sh SEE ALSO
-.Xr symlink 2 ,
.Xr readlink 2 ,
+.Xr symlink 2 ,
.Xr unlink 2
.Sh STANDARDS
The
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index d7f3c437de4..3cfe04c4fbb 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.2,v 1.11 1999/04/18 17:26:52 espie Exp $
+.\" $OpenBSD: mount.2,v 1.12 1999/05/16 19:55:30 alex Exp $
.\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $
.\"
.\" Copyright (c) 1980, 1989, 1993
@@ -330,9 +330,9 @@ mount can also fail if the maximum number of filesystems are currently
mounted.
.Sh SEE ALSO
.Xr statfs 2 ,
+.Xr mfs 8 ,
.Xr mount 8 ,
-.Xr umount 8 ,
-.Xr mfs 8
+.Xr umount 8
.Sh BUGS
Some of the error codes need translation to more obvious messages.
.Sh HISTORY
diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2
index 67ff93ce6c5..6372c9c7c9d 100644
--- a/lib/libc/sys/msync.2
+++ b/lib/libc/sys/msync.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msync.2,v 1.10 1998/07/10 07:06:18 deraadt Exp $
+.\" $OpenBSD: msync.2,v 1.11 1999/05/16 19:55:30 alex Exp $
.\" $NetBSD: msync.2,v 1.8 1995/10/12 15:41:09 jtc Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -117,10 +117,10 @@ Writes are currently done synchronously even if the
flag is specified.
.Sh SEE ALSO
.Xr madvise 2 ,
+.Xr mincore 2 ,
.Xr minherit 2 ,
-.Xr munmap 2 ,
.Xr mprotect 2 ,
-.Xr mincore 2
+.Xr munmap 2
.Sh HISTORY
The
.Fn msync
diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2
index 702c4cb1e5f..7ce614a2f54 100644
--- a/lib/libc/sys/nfssvc.2
+++ b/lib/libc/sys/nfssvc.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nfssvc.2,v 1.6 1999/02/27 21:56:36 deraadt Exp $
+.\" $OpenBSD: nfssvc.2,v 1.7 1999/05/16 19:55:31 alex Exp $
.\" $NetBSD: nfssvc.2,v 1.6 1995/02/27 12:35:08 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -226,8 +226,8 @@ as explained above.
The caller is not the super-user.
.El
.Sh SEE ALSO
-.Xr nfsd 8 ,
.Xr mount_nfs 8 ,
+.Xr nfsd 8 ,
.Xr nfsiod 8
.Sh HISTORY
The
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 5aa8a9af146..7176387382d 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: open.2,v 1.7 1999/02/27 21:56:37 deraadt Exp $
+.\" $OpenBSD: open.2,v 1.8 1999/05/16 19:55:32 alex Exp $
.\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -258,11 +258,11 @@ is already locked.
.Xr close 2 ,
.Xr dup 2 ,
.Xr flock 2 ,
-.Xr getdtablesize 3 ,
.Xr lseek 2 ,
.Xr read 2 ,
+.Xr umask 2 ,
.Xr write 2 ,
-.Xr umask 2
+.Xr getdtablesize 3
.Sh HISTORY
An
.Fn open
diff --git a/lib/libc/sys/pipe.2 b/lib/libc/sys/pipe.2
index 4ae0c54d56b..ab5b24e7c17 100644
--- a/lib/libc/sys/pipe.2
+++ b/lib/libc/sys/pipe.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pipe.2,v 1.4 1998/07/06 18:28:10 deraadt Exp $
+.\" $OpenBSD: pipe.2,v 1.5 1999/05/16 19:55:32 alex Exp $
.\" $NetBSD: pipe.2,v 1.6 1995/02/27 12:35:27 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -104,10 +104,10 @@ space.
.El
.Sh SEE ALSO
.Xr sh 1 ,
-.Xr read 2 ,
-.Xr write 2 ,
.Xr fork 2 ,
-.Xr socketpair 2
+.Xr read 2 ,
+.Xr socketpair 2 ,
+.Xr write 2
.Sh STANDARDS
The
.Fn pipe
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2
index 6aaf79e02de..d645c7e804c 100644
--- a/lib/libc/sys/poll.2
+++ b/lib/libc/sys/poll.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: poll.2,v 1.5 1999/02/27 21:56:38 deraadt Exp $
+.\" $OpenBSD: poll.2,v 1.6 1999/05/16 19:55:33 alex Exp $
.\"
.\" Copyright (c) 1994 Jason R. Thorpe
.\" All rights reserved.
@@ -186,9 +186,9 @@ may succeed.
caught a signal during the polling process.
.El
.Sh SEE ALSO
-.Xr sysconf 3 ,
.Xr poll 2 ,
-.Xr select 2
+.Xr select 2 ,
+.Xr sysconf 3
.Sh HISTORY
A
.Fn poll
diff --git a/lib/libc/sys/readlink.2 b/lib/libc/sys/readlink.2
index adc8d7c883f..46e8e30d025 100644
--- a/lib/libc/sys/readlink.2
+++ b/lib/libc/sys/readlink.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: readlink.2,v 1.6 1999/02/27 21:56:40 deraadt Exp $
+.\" $OpenBSD: readlink.2,v 1.7 1999/05/16 19:55:33 alex Exp $
.\" $NetBSD: readlink.2,v 1.7 1995/02/27 12:35:54 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -89,8 +89,8 @@ An I/O error occurred while reading from the file system.
extends outside the process's allocated address space.
.El
.Sh SEE ALSO
-.Xr stat 2 ,
.Xr lstat 2 ,
+.Xr stat 2 ,
.Xr symlink 2 ,
.Xr symlink 7
.Sh HISTORY
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index 3d32bf17df9..13211238c3c 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: recv.2,v 1.14 1999/02/27 21:56:42 deraadt Exp $
+.\" $OpenBSD: recv.2,v 1.15 1999/05/16 19:55:34 alex Exp $
.\" $NetBSD: recv.2,v 1.6 1995/02/27 12:36:08 cgd Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -298,10 +298,10 @@ was less than 0 or larger than
.El
.Sh SEE ALSO
.Xr fcntl 2 ,
-.Xr read 2 ,
+.Xr getsockopt 2 ,
.Xr poll 2 ,
+.Xr read 2 ,
.Xr select 2 ,
-.Xr getsockopt 2 ,
.Xr socket 2
.Sh HISTORY
The
diff --git a/lib/libc/sys/rename.2 b/lib/libc/sys/rename.2
index 7e4932df025..f393ee077dd 100644
--- a/lib/libc/sys/rename.2
+++ b/lib/libc/sys/rename.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rename.2,v 1.4 1999/02/27 21:56:42 deraadt Exp $
+.\" $OpenBSD: rename.2,v 1.5 1999/05/16 19:55:34 alex Exp $
.\" $NetBSD: rename.2,v 1.7 1995/02/27 12:36:15 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -198,7 +198,7 @@ or
is a directory and is not empty.
.El
.Sh SEE ALSO
-.Xr open 2
+.Xr open 2 ,
.Xr symlink 7
.Sh STANDARDS
The
diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2
index 334e563d3dd..332f4dedae9 100644
--- a/lib/libc/sys/rfork.2
+++ b/lib/libc/sys/rfork.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rfork.2,v 1.10 1999/02/27 21:56:43 deraadt Exp $
+.\" $OpenBSD: rfork.2,v 1.11 1999/05/16 19:55:35 alex Exp $
.\"
.\" This manual page is taken directly from Plan9, and modified to
.\" describe the actual OpenBSD implementation. Permission for
@@ -108,10 +108,10 @@ processes under execution by a single user would be exceeded.
There is insufficient swap space for the new process.
.El
.Sh SEE ALSO
-.Xr intro 2 ,
.Xr fork 2 ,
-.Xr vfork 2 ,
-.Xr minherit 2
+.Xr intro 2 ,
+.Xr minherit 2 ,
+.Xr vfork 2
.Sh HISTORY
The
.Fn rfork
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2
index 8626c060dfc..0988d4cf393 100644
--- a/lib/libc/sys/select.2
+++ b/lib/libc/sys/select.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: select.2,v 1.11 1999/03/11 01:35:01 pjanzen Exp $
+.\" $OpenBSD: select.2,v 1.12 1999/05/16 19:55:35 alex Exp $
.\" $NetBSD: select.2,v 1.5 1995/06/27 22:32:28 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -160,13 +160,13 @@ negative or too large.
.Sh SEE ALSO
.Xr accept 2 ,
.Xr connect 2 ,
-.Xr getdtablesize 3 ,
.Xr gettimeofday 2 ,
.Xr poll 2 ,
.Xr read 2 ,
.Xr recv 2 ,
.Xr send 2 ,
-.Xr write 2
+.Xr write 2 ,
+.Xr getdtablesize 3
.Sh BUGS
Although the provision of
.Xr getdtablesize 3
diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2
index a8719a1a98b..2b02c73c08c 100644
--- a/lib/libc/sys/send.2
+++ b/lib/libc/sys/send.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: send.2,v 1.13 1999/02/27 21:56:47 deraadt Exp $
+.\" $OpenBSD: send.2,v 1.14 1999/05/16 19:55:36 alex Exp $
.\" $NetBSD: send.2,v 1.6 1996/01/15 01:17:18 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -209,10 +209,10 @@ Addresses in the specified address family cannot be used with this socket.
.El
.Sh SEE ALSO
.Xr fcntl 2 ,
-.Xr recv 2 ,
+.Xr getsockopt 2 ,
.Xr poll 2 ,
+.Xr recv 2 ,
.Xr select 2 ,
-.Xr getsockopt 2 ,
.Xr socket 2 ,
.Xr write 2
.Sh HISTORY
diff --git a/lib/libc/sys/setsid.2 b/lib/libc/sys/setsid.2
index 9be3d8bffc6..2f57e1d2999 100644
--- a/lib/libc/sys/setsid.2
+++ b/lib/libc/sys/setsid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setsid.2,v 1.7 1998/07/24 00:43:48 espie Exp $
+.\" $OpenBSD: setsid.2,v 1.8 1999/05/16 19:55:37 alex Exp $
.\" $NetBSD: setsid.2,v 1.3 1995/10/12 15:41:13 jtc Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -71,8 +71,8 @@ group ID of a process other than the calling process matches the process
ID of the calling process.
.El
.Sh SEE ALSO
-.Xr setpgid 2 ,
.Xr getsid 2 ,
+.Xr setpgid 2 ,
.Xr tcgetpgrp 3 ,
.Xr tcsetpgrp 3
.Sh STANDARDS
diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2
index 950ad6627a8..7ae2b84219f 100644
--- a/lib/libc/sys/setuid.2
+++ b/lib/libc/sys/setuid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setuid.2,v 1.5 1999/04/18 17:26:52 espie Exp $
+.\" $OpenBSD: setuid.2,v 1.6 1999/05/16 19:55:37 alex Exp $
.\" $NetBSD: setuid.2,v 1.3 1995/02/27 12:37:06 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -108,8 +108,8 @@ If the user is not the super user, or the uid
specified is not the real, effective ID, or saved ID,
these functions return \-1.
.Sh SEE ALSO
-.Xr getuid 2 ,
.Xr getgid 2 ,
+.Xr getuid 2 ,
.Xr issetugid 2
.Sh STANDARDS
The
diff --git a/lib/libc/sys/sigprocmask.2 b/lib/libc/sys/sigprocmask.2
index 8fe749a60ae..62bd8928776 100644
--- a/lib/libc/sys/sigprocmask.2
+++ b/lib/libc/sys/sigprocmask.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigprocmask.2,v 1.2 1998/07/06 18:28:38 deraadt Exp $
+.\" $OpenBSD: sigprocmask.2,v 1.3 1999/05/16 19:55:38 alex Exp $
.\" $NetBSD: sigprocmask.2,v 1.6 1995/02/27 12:37:33 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -113,8 +113,8 @@ has a value other than those listed here.
.Sh SEE ALSO
.Xr kill 2 ,
.Xr sigaction 2 ,
-.Xr sigsetops 3 ,
-.Xr sigsuspend 2
+.Xr sigsuspend 2 ,
+.Xr sigsetops 3
.Sh STANDARDS
The
.Fn sigprocmask
diff --git a/lib/libc/sys/sigsuspend.2 b/lib/libc/sys/sigsuspend.2
index 5192035fcb8..744e701eb4c 100644
--- a/lib/libc/sys/sigsuspend.2
+++ b/lib/libc/sys/sigsuspend.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigsuspend.2,v 1.3 1999/02/27 21:56:51 deraadt Exp $
+.\" $OpenBSD: sigsuspend.2,v 1.4 1999/05/16 19:55:39 alex Exp $
.\" $NetBSD: sigsuspend.2,v 1.4 1995/02/27 12:37:46 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -72,8 +72,8 @@ always terminates by being interrupted, returning -1 with
set to
.Dv EINTR .
.Sh SEE ALSO
-.Xr sigprocmask 2 ,
.Xr sigaction 2 ,
+.Xr sigprocmask 2 ,
.Xr sigsetops 3
.Sh STANDARDS
The
diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2
index 1de078a9e5a..aa0587e7a1d 100644
--- a/lib/libc/sys/socket.2
+++ b/lib/libc/sys/socket.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: socket.2,v 1.7 1999/02/27 21:56:52 deraadt Exp $
+.\" $OpenBSD: socket.2,v 1.8 1999/05/16 19:55:39 alex Exp $
.\" $NetBSD: socket.2,v 1.5 1995/02/27 12:37:53 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -237,19 +237,19 @@ The socket cannot be created until sufficient resources are freed.
.Xr accept 2 ,
.Xr bind 2 ,
.Xr connect 2 ,
-.Xr getprotoent 3 ,
.Xr getsockname 2 ,
.Xr getsockopt 2 ,
.Xr ioctl 2 ,
.Xr listen 2 ,
+.Xr poll 2 ,
.Xr read 2 ,
.Xr recv 2 ,
-.Xr poll 2 ,
.Xr select 2 ,
.Xr send 2 ,
.Xr shutdown 2 ,
.Xr socketpair 2 ,
.Xr write 2 ,
+.Xr getprotoent 3 ,
.Xr netintro 4
.Rs
.%T "An Introductory 4.3 BSD Interprocess Communication Tutorial"
diff --git a/lib/libc/sys/socketpair.2 b/lib/libc/sys/socketpair.2
index 515c4c6fee9..3e78918cfb8 100644
--- a/lib/libc/sys/socketpair.2
+++ b/lib/libc/sys/socketpair.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: socketpair.2,v 1.5 1999/04/28 20:59:35 aaron Exp $
+.\" $OpenBSD: socketpair.2,v 1.6 1999/05/16 19:55:40 alex Exp $
.\" $NetBSD: socketpair.2,v 1.5 1995/02/27 12:38:00 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -80,8 +80,8 @@ The address
does not specify a valid part of the
process address space.
.Sh SEE ALSO
-.Xr read 2 ,
.Xr pipe 2 ,
+.Xr read 2 ,
.Xr write 2
.Sh BUGS
This call is currently implemented only for the
diff --git a/lib/libc/sys/swapon.2 b/lib/libc/sys/swapon.2
index 9d493176d0e..70d6b95683f 100644
--- a/lib/libc/sys/swapon.2
+++ b/lib/libc/sys/swapon.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: swapon.2,v 1.3 1999/02/27 21:56:54 deraadt Exp $
+.\" $OpenBSD: swapon.2,v 1.4 1999/05/16 19:55:40 alex Exp $
.\" $NetBSD: swapon.2,v 1.7 1995/02/27 12:38:21 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -103,8 +103,8 @@ An I/O error occurred while opening the swap device.
.Fa special
points outside the process's allocated address space.
.Sh SEE ALSO
-.Xr swapon 8 ,
-.Xr config 8
+.Xr config 8 ,
+.Xr swapon 8
.Sh BUGS
There is no way to stop swapping on a disk so that the pack may be
dismounted.
diff --git a/lib/libc/sys/symlink.2 b/lib/libc/sys/symlink.2
index d6a264cbf6c..405d5f0499c 100644
--- a/lib/libc/sys/symlink.2
+++ b/lib/libc/sys/symlink.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: symlink.2,v 1.6 1999/02/27 21:56:55 deraadt Exp $
+.\" $OpenBSD: symlink.2,v 1.7 1999/05/16 19:55:41 alex Exp $
.\" $NetBSD: symlink.2,v 1.7 1995/02/27 12:38:34 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -131,8 +131,8 @@ points outside the process's allocated address space.
.Sh SEE ALSO
.Xr ln 1 ,
.Xr link 2 ,
-.Xr unlink 2 ,
.Xr readlink 2 ,
+.Xr unlink 2 ,
.Xr symlink 7
.Sh HISTORY
The
diff --git a/lib/libc/sys/vfork.2 b/lib/libc/sys/vfork.2
index 4f0bdd43229..31cc806cc65 100644
--- a/lib/libc/sys/vfork.2
+++ b/lib/libc/sys/vfork.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vfork.2,v 1.8 1999/04/02 16:21:35 aaron Exp $
+.\" $OpenBSD: vfork.2,v 1.9 1999/05/16 19:55:41 alex Exp $
.\" $NetBSD: vfork.2,v 1.8 1997/07/10 07:54:13 mikel Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -70,8 +70,8 @@ or abnormally.)
returns 0 in the child's context and (later) the pid of the child in
the parent's context.
.Sh SEE ALSO
-.Xr fork 2 ,
.Xr execve 2 ,
+.Xr fork 2 ,
.Xr sigaction 2 ,
.Xr wait 2
.Sh RETURN VALUES
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index 98790034adc..4bc406c79cb 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wait.2,v 1.5 1999/02/27 21:57:00 deraadt Exp $
+.\" $OpenBSD: wait.2,v 1.6 1999/05/16 19:55:42 alex Exp $
.\" $NetBSD: wait.2,v 1.6 1995/02/27 12:39:37 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
@@ -295,8 +295,8 @@ and the ability to restart a pending
call are extensions to the POSIX interface.
.Sh SEE ALSO
.Xr _exit 2 ,
-.Xr exit 3 ,
-.Xr sigaction 2
+.Xr sigaction 2 ,
+.Xr exit 3
.Sh HISTORY
A
.Fn wait
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index 20a26a27bed..5f8ca1df6d5 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctime.3,v 1.12 1999/04/20 02:04:11 aaron Exp $
+.\" $OpenBSD: ctime.3,v 1.13 1999/05/16 19:55:44 alex Exp $
.\"
.\"
.Dd Feb 16, 1999
@@ -196,8 +196,8 @@ UTC leap seconds are loaded from
.Sh SEE ALSO
.Xr getenv 3 ,
.Xr strftime 3 ,
-.Xr tzset 3 ,
.Xr time 3 ,
+.Xr tzset 3 ,
.Xr tzfil 5
.Sh NOTES
The return values point to static data;
diff --git a/lib/libc_r/man/flockfile.3 b/lib/libc_r/man/flockfile.3
index 9b8b36f49a6..ac597c55bd7 100644
--- a/lib/libc_r/man/flockfile.3
+++ b/lib/libc_r/man/flockfile.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: flockfile.3,v 1.4 1999/04/21 21:17:51 aaron Exp $
+.\" $OpenBSD: flockfile.3,v 1.5 1999/05/16 19:55:45 alex Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd August 20, 1998
.Os
@@ -99,9 +99,9 @@ None.
.Sh SEE ALSO
.Xr getc_unlocked 3 ,
.Xr getchar_unlocked 3 ,
+.Xr pthreads 3 ,
.Xr putc_unlocked 3 ,
-.Xr putchar_unlocked 3 ,
-.Xr pthreads 3
+.Xr putchar_unlocked 3
.Sh STANDARDS
.Fn flockfile ,
.Fn ftrylockfile
diff --git a/lib/libc_r/man/pread.3 b/lib/libc_r/man/pread.3
index 98f82a30f29..f532f2c2e55 100644
--- a/lib/libc_r/man/pread.3
+++ b/lib/libc_r/man/pread.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pread.3,v 1.3 1999/03/22 04:20:04 d Exp $
+.\" $OpenBSD: pread.3,v 1.4 1999/05/16 19:55:45 alex Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd September 7, 1998
.Os
@@ -29,8 +29,8 @@ The
function returns values identical to
.Xr read 2 .
.Sh SEE ALSO
-.Xr pthreads 3 ,
.Xr read 2 ,
+.Xr pthreads 3 ,
.Xr pwrite 3
.Sh STANDARDS
.Fn pread
diff --git a/lib/libc_r/man/pthread_cancel.3 b/lib/libc_r/man/pthread_cancel.3
index 5ba06312a66..d79740f7d7b 100644
--- a/lib/libc_r/man/pthread_cancel.3
+++ b/lib/libc_r/man/pthread_cancel.3
@@ -51,13 +51,13 @@ No thread could be found corresponding to that specified by the given
thread ID.
.El
.Sh SEE ALSO
-.Xr pthread_testcancel 3 ,
-.Xr pthread_setcancelstate 3 ,
-.Xr pthread_setcanceltype 3 ,
.Xr pthread_cleanup_pop 3 ,
.Xr pthread_cleanup_push 3 ,
.Xr pthread_exit 3 ,
-.Xr pthread_join 3
+.Xr pthread_join 3 ,
+.Xr pthread_setcancelstate 3 ,
+.Xr pthread_setcanceltype 3 ,
+.Xr pthread_testcancel 3
.Sh STANDARDS
.Fn pthread_cancel
conforms to ISO/IEC 9945-1 ANSI/IEEE
diff --git a/lib/libc_r/man/pthread_sigmask.3 b/lib/libc_r/man/pthread_sigmask.3
index 6ce85538cd3..dc5bfab20ba 100644
--- a/lib/libc_r/man/pthread_sigmask.3
+++ b/lib/libc_r/man/pthread_sigmask.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_sigmask.3,v 1.1 1999/03/22 04:12:57 d Exp $
+.\" $OpenBSD: pthread_sigmask.3,v 1.2 1999/05/16 19:55:46 alex Exp $
.Dd March 21, 1999
.Os
.Dt PTHREAD_SIGMASK 3
@@ -22,8 +22,8 @@ The return values of
are the same as
.Xr sigprocmask 2 .
.Sh SEE ALSO
-.Xr pthreads 3 ,
-.Xr sigprocmask 2 .
+.Xr sigprocmask 2 ,
+.Xr pthreads 3
.Sh STANDARDS
.Fn pthread_sigmask
conforms to ISO/IEC 9945-1 ANSI/IEEE
diff --git a/lib/libc_r/man/pwrite.3 b/lib/libc_r/man/pwrite.3
index 3f1a07594aa..eb0ea1f81e5 100644
--- a/lib/libc_r/man/pwrite.3
+++ b/lib/libc_r/man/pwrite.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pwrite.3,v 1.3 1999/03/22 04:20:04 d Exp $
+.\" $OpenBSD: pwrite.3,v 1.4 1999/05/16 19:55:47 alex Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd September 7, 1998
.Os
@@ -29,9 +29,9 @@ The
function returns values identical to
.Xr write 2 .
.Sh SEE ALSO
-.Xr pthreads 3 ,
.Xr write 2 ,
-.Xr pread 3
+.Xr pread 3 ,
+.Xr pthreads 3
.Sh STANDARDS
.Fn pread
conforms to TOG SUSv2 .
diff --git a/lib/libc_r/man/sigwait.3 b/lib/libc_r/man/sigwait.3
index bf646699b71..5a8a0a1183c 100644
--- a/lib/libc_r/man/sigwait.3
+++ b/lib/libc_r/man/sigwait.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigwait.3,v 1.5 1999/03/22 04:20:05 d Exp $
+.\" $OpenBSD: sigwait.3,v 1.6 1999/05/16 19:55:47 alex Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd August 20, 1998
.Os
@@ -63,12 +63,12 @@ The
argument contains an invalid or unsupported signal number
.El
.Sh SEE ALSO
-.Xr pause 3 ,
.Xr sigaction 2 ,
.Xr sigpending 2 ,
.Xr sigsuspend 2 ,
-.Xr pthreads 3 ,
-.Xr pthread_sigmask 3
+.Xr pause 3 ,
+.Xr pthread_sigmask 3 ,
+.Xr pthreads 3
.Sh STANDARDS
.Fn sigwait
conforms to ISO/IEC 9945-1 ANSI/IEEE
diff --git a/lib/libcompat/4.1/vtimes.3 b/lib/libcompat/4.1/vtimes.3
index 65b3f10e23d..8817e2f2211 100644
--- a/lib/libcompat/4.1/vtimes.3
+++ b/lib/libcompat/4.1/vtimes.3
@@ -132,9 +132,9 @@ These numbers account only for real
data supplied by the caching mechanism is charged only
to the first process to read or write the data.
.Sh SEE ALSO
+.Xr getrusage 2 ,
.Xr time 2 ,
-.Xr wait3 2 ,
-.Xr getrusage 2
+.Xr wait3 2
.Sh HISTORY
The
.Fn vlimit
diff --git a/lib/libcompat/4.3/re_comp.3 b/lib/libcompat/4.3/re_comp.3
index f84cdf86b06..d10ef653765 100644
--- a/lib/libcompat/4.3/re_comp.3
+++ b/lib/libcompat/4.3/re_comp.3
@@ -112,8 +112,8 @@ unmatched \e).
.Ed
.Sh SEE ALSO
.Xr ed 1 ,
-.Xr ex 1 ,
.Xr egrep 1 ,
+.Xr ex 1 ,
.Xr fgrep 1 ,
.Xr grep 1 ,
.Xr regex 3
diff --git a/lib/libcompat/regexp/regexp.3 b/lib/libcompat/regexp/regexp.3
index 97b6712cb2f..88484808b25 100644
--- a/lib/libcompat/regexp/regexp.3
+++ b/lib/libcompat/regexp/regexp.3
@@ -282,9 +282,9 @@ where failures are syntax errors, exceeding implementation limits,
or applying `+' or `*' to a possibly NULL operand.
.Sh SEE ALSO
.Xr ed 1 ,
+.Xr egrep 1 ,
.Xr ex 1 ,
.Xr expr 1 ,
-.Xr egrep 1 ,
.Xr fgrep 1 ,
.Xr grep 1 ,
.Xr regex 3
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index 0154bb449a3..2b70571942f 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: editline.3,v 1.5 1999/05/12 21:58:33 aaron Exp $
+.\" $OpenBSD: editline.3,v 1.6 1999/05/16 19:55:51 alex Exp $
.\" $NetBSD: editline.3,v 1.4 1997/01/14 04:17:23 lukem Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -508,10 +508,10 @@ Save the history list to
.\"XXX.Sh EXAMPLES
.\"XXX: provide some examples
.Sh SEE ALSO
-.Xr editrc 5 ,
.Xr sh 1 ,
.Xr signal 3 ,
-.Xr termcap 3
+.Xr termcap 3 ,
+.Xr editrc 5
.Sh HISTORY
The
.Nm
diff --git a/lib/libkvm.old/kvm_getfiles.3 b/lib/libkvm.old/kvm_getfiles.3
index ef39203d284..1a4237c0511 100644
--- a/lib/libkvm.old/kvm_getfiles.3
+++ b/lib/libkvm.old/kvm_getfiles.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_getfiles.3,v 1.2 1998/08/06 21:26:13 kstailey Exp $
+.\" $OpenBSD: kvm_getfiles.3,v 1.3 1999/05/16 19:55:54 alex Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -78,10 +78,10 @@ will return NULL on failure.
This routine does not belong in the kvm interface.
.Sh SEE ALSO
.Xr kvm 3 ,
+.Xr kvm_close 3 ,
+.Xr kvm_geterr 3 ,
+.Xr kvm_nlist 3 ,
.Xr kvm_open 3 ,
.Xr kvm_openfiles 3 ,
-.Xr kvm_close 3 ,
.Xr kvm_read 3 ,
-.Xr kvm_write 3 ,
-.Xr kvm_nlist 3 ,
-.Xr kvm_geterr 3
+.Xr kvm_write 3
diff --git a/lib/libkvm.old/kvm_getloadavg.3 b/lib/libkvm.old/kvm_getloadavg.3
index 599abac43a5..8759deeee30 100644
--- a/lib/libkvm.old/kvm_getloadavg.3
+++ b/lib/libkvm.old/kvm_getloadavg.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_getloadavg.3,v 1.2 1997/01/02 20:24:09 deraadt Exp $
+.\" $OpenBSD: kvm_getloadavg.3,v 1.3 1999/05/16 19:55:55 alex Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -63,5 +63,5 @@ If the load average was unobtainable, \-1 is returned; otherwise,
the number of samples actually retrieved is returned.
.Sh SEE ALSO
.Xr uptime 1 ,
-.Xr kvm 3 ,
-.Xr getloadavg 3
+.Xr getloadavg 3 ,
+.Xr kvm 3
diff --git a/lib/libkvm/kvm_getfiles.3 b/lib/libkvm/kvm_getfiles.3
index 75da186e208..98517b66053 100644
--- a/lib/libkvm/kvm_getfiles.3
+++ b/lib/libkvm/kvm_getfiles.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_getfiles.3,v 1.3 1998/08/06 21:23:00 kstailey Exp $
+.\" $OpenBSD: kvm_getfiles.3,v 1.4 1999/05/16 19:55:52 alex Exp $
.\" $NetBSD: kvm_getfiles.3,v 1.3 1996/03/18 22:33:23 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -79,10 +79,10 @@ will return NULL on failure.
This routine does not belong in the kvm interface.
.Sh SEE ALSO
.Xr kvm 3 ,
+.Xr kvm_close 3 ,
+.Xr kvm_geterr 3 ,
+.Xr kvm_nlist 3 ,
.Xr kvm_open 3 ,
.Xr kvm_openfiles 3 ,
-.Xr kvm_close 3 ,
.Xr kvm_read 3 ,
-.Xr kvm_write 3 ,
-.Xr kvm_nlist 3 ,
-.Xr kvm_geterr 3
+.Xr kvm_write 3
diff --git a/lib/libkvm/kvm_getloadavg.3 b/lib/libkvm/kvm_getloadavg.3
index 7bb8efe10e2..2b254b7efdb 100644
--- a/lib/libkvm/kvm_getloadavg.3
+++ b/lib/libkvm/kvm_getloadavg.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_getloadavg.3,v 1.3 1997/01/02 20:24:07 deraadt Exp $
+.\" $OpenBSD: kvm_getloadavg.3,v 1.4 1999/05/16 19:55:53 alex Exp $
.\" $NetBSD: kvm_getloadavg.3,v 1.2 1996/03/18 22:33:26 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -64,5 +64,5 @@ If the load average was unobtainable, \-1 is returned; otherwise,
the number of samples actually retrieved is returned.
.Sh SEE ALSO
.Xr uptime 1 ,
-.Xr kvm 3 ,
-.Xr getloadavg 3
+.Xr getloadavg 3 ,
+.Xr kvm 3
diff --git a/lib/libm/man/acos.3 b/lib/libm/man/acos.3
index 795c3b61ab0..fa6cac56e5a 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.3 1997/04/05 04:18:45 tholo Exp $
+.\" $Id: acos.3,v 1.4 1999/05/16 19:55:56 alex Exp $
.\"
.Dd May 2, 1991
.Dt ACOS 3
@@ -62,13 +62,13 @@ sets the global variable
.Va errno
to EDOM.
.Sh SEE ALSO
-.Xr sin 3 ,
-.Xr cos 3 ,
-.Xr tan 3 ,
.Xr asin 3 ,
.Xr atan 3 ,
.Xr atan2 3 ,
-.Xr sinh 3 ,
+.Xr cos 3 ,
.Xr cosh 3 ,
-.Xr tanh 3 ,
-.Xr math 3
+.Xr math 3 ,
+.Xr sin 3 ,
+.Xr sinh 3 ,
+.Xr tan 3 ,
+.Xr tanh 3
diff --git a/lib/libm/man/asin.3 b/lib/libm/man/asin.3
index cacb3506e71..c5430f479d2 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.3 1997/04/05 04:18:46 tholo Exp $
+.\" $Id: asin.3,v 1.4 1999/05/16 19:55:56 alex Exp $
.\"
.Dd May 2, 1991
.Dt ASIN 3
@@ -69,8 +69,8 @@ to EDOM.
.Xr atan2 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr math 3 ,
.Xr sin 3 ,
.Xr sinh 3 ,
.Xr tan 3 ,
-.Xr tanh 3 ,
-.Xr math 3
+.Xr tanh 3
diff --git a/lib/libm/man/atan.3 b/lib/libm/man/atan.3
index f7a34bf2166..35aadb1a872 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.3 1997/04/05 04:18:47 tholo Exp $
+.\" $Id: atan.3,v 1.4 1999/05/16 19:55:57 alex Exp $
.\"
.Dd May 2, 1991
.Dt ATAN 3
@@ -61,8 +61,8 @@ in the range
.Xr atan2 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr math 3 ,
.Xr sin 3 ,
.Xr sinh 3 ,
.Xr tan 3 ,
-.Xr tanh 3 ,
-.Xr math 3
+.Xr tanh 3
diff --git a/lib/libm/man/atan2.3 b/lib/libm/man/atan2.3
index d371b67325f..dff7e4a10c1 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.2 1995/10/28 00:56:48 deraadt Exp $
+.\" $Id: atan2.3,v 1.3 1999/05/16 19:55:57 alex Exp $
.\"
.Dd May 2, 1991
.Dt ATAN2 3
@@ -181,11 +181,11 @@ r := \(sr(x\(**x+y\(**y);\0\0if r = 0 then x := copysign(1,x);
.Xr atan 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr math 3 ,
.Xr sin 3 ,
.Xr sinh 3 ,
.Xr tan 3 ,
-.Xr tanh 3 ,
-.Xr math 3 ,
+.Xr tanh 3
.Sh STANDARDS
The
.Fn atan2
diff --git a/lib/libm/man/ceil.3 b/lib/libm/man/ceil.3
index 4a1a8d2ad72..affa3204c66 100644
--- a/lib/libm/man/ceil.3
+++ b/lib/libm/man/ceil.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ceil.3 5.1 (Berkeley) 5/2/91
-.\" $Id: ceil.3,v 1.3 1996/08/12 22:17:53 deraadt Exp $
+.\" $Id: ceil.3,v 1.4 1999/05/16 19:55:57 alex Exp $
.\"
.Dd March 10, 1994
.Dt CEIL 3
@@ -57,8 +57,8 @@ greater than or equal to
.Xr fabs 3 ,
.Xr floor 3 ,
.Xr ieee 3 ,
-.Xr rint 3 ,
-.Xr math 3
+.Xr math 3 ,
+.Xr rint 3
.Sh STANDARDS
The
.Fn ceil
diff --git a/lib/libm/man/cos.3 b/lib/libm/man/cos.3
index 8f295cbd58c..438b78fd977 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.2 1995/10/28 00:56:50 deraadt Exp $
+.\" $Id: cos.3,v 1.3 1999/05/16 19:55:58 alex Exp $
.\"
.Dd May 2, 1991
.Dt COS 3
@@ -61,16 +61,16 @@ The
.Fn cos
function returns the cosine value.
.Sh SEE ALSO
-.Xr sin 3 ,
-.Xr tan 3 ,
-.Xr asin 3 ,
.Xr acos 3 ,
+.Xr asin 3 ,
.Xr atan 3 ,
.Xr atan2 3 ,
-.Xr sinh 3 ,
.Xr cosh 3 ,
-.Xr tanh 3 ,
-.Xr math 3
+.Xr math 3 ,
+.Xr sin 3 ,
+.Xr sinh 3 ,
+.Xr tan 3 ,
+.Xr tanh 3
.Sh STANDARDS
The
.Fn cos
diff --git a/lib/libm/man/cosh.3 b/lib/libm/man/cosh.3
index 9f45c06dd21..8b33ba9d33b 100644
--- a/lib/libm/man/cosh.3
+++ b/lib/libm/man/cosh.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)cosh.3 5.1 (Berkeley) 5/2/91
-.\" $Id: cosh.3,v 1.3 1997/04/05 04:18:47 tholo Exp $
+.\" $Id: cosh.3,v 1.4 1999/05/16 19:55:58 alex Exp $
.\"
.Dd May 2, 1991
.Dt COSH 3
@@ -65,8 +65,8 @@ to ERANGE.
.Xr atan 3 ,
.Xr atan2 3 ,
.Xr cos 3 ,
+.Xr math 3 ,
.Xr sin 3 ,
.Xr sinh 3 ,
.Xr tan 3 ,
-.Xr tanh 3 ,
-.Xr math 3
+.Xr tanh 3
diff --git a/lib/libm/man/exp.3 b/lib/libm/man/exp.3
index b31f79b7f39..bd67b9f284b 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.3 1997/04/05 04:18:48 tholo Exp $
+.\" $Id: exp.3,v 1.4 1999/05/16 19:55:59 alex Exp $
.\"
.Dd July 31, 1991
.Dt EXP 3
@@ -272,8 +272,8 @@ then \*(Na**0 = 1 too because x**0 = 1 for all finite
and infinite x, i.e., independently of x.
.El
.Sh SEE ALSO
-.Xr math 3 ,
-.Xr infnan 3
+.Xr infnan 3 ,
+.Xr math 3
.Sh HISTORY
A
.Fn exp ,
diff --git a/lib/libm/man/fabs.3 b/lib/libm/man/fabs.3
index 7e29c8ab362..94f40934509 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.2 1995/10/28 00:56:53 deraadt Exp $
+.\" $Id: fabs.3,v 1.3 1999/05/16 19:55:59 alex Exp $
.\"
.Dd May 2, 1991
.Dt FABS 3
@@ -61,9 +61,9 @@ function returns the absolute value of
.Xr abs 3 ,
.Xr ceil 3 ,
.Xr floor 3 ,
-.Xr rint 3 ,
.Xr ieee 3 ,
-.Xr math 3
+.Xr math 3 ,
+.Xr rint 3
.Sh STANDARDS
The
.Fn fabs
diff --git a/lib/libm/man/floor.3 b/lib/libm/man/floor.3
index 4e4ccb4e50e..95477dc75a7 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.2 1995/10/28 00:56:54 deraadt Exp $
+.\" $Id: floor.3,v 1.3 1999/05/16 19:55:59 alex Exp $
.\"
.Dd March 10, 1994
.Dt FLOOR 3
@@ -57,8 +57,8 @@ less than or equal to
.Xr ceil 3 ,
.Xr fabs 3 ,
.Xr ieee 3 ,
-.Xr rint 3 ,
-.Xr math 3
+.Xr math 3 ,
+.Xr rint 3
.Sh STANDARDS
The
.Fn floor
diff --git a/lib/libm/man/infnan.3 b/lib/libm/man/infnan.3
index a27eee52c29..3c98e3005de 100644
--- a/lib/libm/man/infnan.3
+++ b/lib/libm/man/infnan.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: infnan.3,v 1.1 1997/09/01 02:13:13 mickey Exp $
+.\" $OpenBSD: infnan.3,v 1.2 1999/05/16 19:56:00 alex Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -160,9 +160,9 @@ int iarg ;
}
.Ed
.Sh SEE ALSO
-.Xr math 3 ,
.Xr intro 2 ,
-.Xr signal 3 .
+.Xr math 3 ,
+.Xr signal 3
.Pp
.Dv ERANGE
and
diff --git a/lib/libm/man/lgamma.3 b/lib/libm/man/lgamma.3
index 115051ac081..d1d92f93c89 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.4 1999/02/27 21:57:29 deraadt Exp $
+.\" $Id: lgamma.3,v 1.5 1999/05/16 19:56:00 alex Exp $
.\"
.Dd December 3, 1992
.Dt LGAMMA 3
@@ -90,8 +90,8 @@ and
is set to
.Er ERANGE .
.Sh SEE ALSO
-.Xr math 3 ,
-.Xr infnan 3
+.Xr infnan 3 ,
+.Xr math 3
.Sh HISTORY
The
.Nm lgamma
diff --git a/lib/libm/man/rint.3 b/lib/libm/man/rint.3
index 900de9d1cff..bcf337fd7e4 100644
--- a/lib/libm/man/rint.3
+++ b/lib/libm/man/rint.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)rint.3 5.1 (Berkeley) 5/2/91
-.\" $Id: rint.3,v 1.2 1995/10/28 00:56:59 deraadt Exp $
+.\" $Id: rint.3,v 1.3 1999/05/16 19:56:01 alex Exp $
.\"
.Dd March 10, 1994
.Dt RINT 3
@@ -53,8 +53,8 @@ nearest to
according to the prevailing rounding mode.
.Sh SEE ALSO
.Xr abs 3 ,
-.Xr fabs 3 ,
.Xr ceil 3 ,
+.Xr fabs 3 ,
.Xr floor 3 ,
.Xr ieee 3 ,
.Xr math 3
diff --git a/lib/libm/man/sin.3 b/lib/libm/man/sin.3
index cedf504be9e..5171da9ece4 100644
--- a/lib/libm/man/sin.3
+++ b/lib/libm/man/sin.3
@@ -31,7 +31,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sin.3 6.7 (Berkeley) 4/19/91
-.\" $Id: sin.3,v 1.2 1995/10/28 00:57:00 deraadt Exp $
+.\" $Id: sin.3,v 1.3 1999/05/16 19:56:01 alex Exp $
.\"
.Dd April 19, 1991
.Dt SIN 3
@@ -64,10 +64,10 @@ function returns the sine value.
.Xr atan2 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr math 3 ,
.Xr sinh 3 ,
.Xr tan 3 ,
-.Xr tanh 3 ,
-.Xr math 3
+.Xr tanh 3
.Sh STANDARDS
The
.Fn sin
diff --git a/lib/libm/man/sinh.3 b/lib/libm/man/sinh.3
index 476c30075e2..3d1e380114f 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.2 1995/10/28 00:57:00 deraadt Exp $
+.\" $Id: sinh.3,v 1.3 1999/05/16 19:56:02 alex Exp $
.Dd April 19, 1991
.Dt SINH 3
.Os
@@ -66,10 +66,10 @@ is set to
.Xr atan2 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr math 3 ,
.Xr sin 3 ,
.Xr tan 3 ,
-.Xr tanh 3 ,
-.Xr math 3
+.Xr tanh 3
.Sh STANDARDS
The
.Fn sinh
diff --git a/lib/libm/man/tan.3 b/lib/libm/man/tan.3
index 0cab9324910..efc37baa676 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.2 1995/10/28 00:57:02 deraadt Exp $
+.\" $Id: tan.3,v 1.3 1999/05/16 19:56:02 alex Exp $
.\"
.Dd May 2, 1991
.Dt TAN 3
@@ -67,10 +67,10 @@ function returns the tangent value.
.Xr atan2 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr math 3 ,
.Xr sin 3 ,
.Xr sinh 3 ,
-.Xr tanh 3 ,
-.Xr math 3
+.Xr tanh 3
.Sh STANDARDS
The
.Fn tan
diff --git a/lib/libm/man/tanh.3 b/lib/libm/man/tanh.3
index db5ae7fdcda..87f67da792d 100644
--- a/lib/libm/man/tanh.3
+++ b/lib/libm/man/tanh.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)tanh.3 5.1 (Berkeley) 5/2/91
-.\" $Id: tanh.3,v 1.2 1995/10/28 00:57:03 deraadt Exp $
+.\" $Id: tanh.3,v 1.3 1999/05/16 19:56:02 alex Exp $
.\"
.Dd May 2, 1991
.Dt TANH 3
@@ -64,10 +64,10 @@ function returns the hyperbolic tangent value.
.Xr atan2 3 ,
.Xr cos 3 ,
.Xr cosh 3 ,
+.Xr math 3 ,
.Xr sin 3 ,
.Xr sinh 3 ,
-.Xr tan 3 ,
-.Xr math 3
+.Xr tan 3
.Sh STANDARDS
The
.Fn tanh
diff --git a/lib/libocurses/ocurses.3 b/lib/libocurses/ocurses.3
index c12dca6a7b5..06a35c05c9e 100644
--- a/lib/libocurses/ocurses.3
+++ b/lib/libocurses/ocurses.3
@@ -60,7 +60,7 @@ should be called before exiting.
.Sh SEE ALSO
.Xr ioctl 2 ,
.Xr getenv 3 ,
-.Xr termcap 3
+.Xr termcap 3 ,
.Xr tty 4 ,
.Xr termcap 5
.Rs
diff --git a/lib/libpthread/man/flockfile.3 b/lib/libpthread/man/flockfile.3
index 9b8b36f49a6..ac597c55bd7 100644
--- a/lib/libpthread/man/flockfile.3
+++ b/lib/libpthread/man/flockfile.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: flockfile.3,v 1.4 1999/04/21 21:17:51 aaron Exp $
+.\" $OpenBSD: flockfile.3,v 1.5 1999/05/16 19:55:45 alex Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd August 20, 1998
.Os
@@ -99,9 +99,9 @@ None.
.Sh SEE ALSO
.Xr getc_unlocked 3 ,
.Xr getchar_unlocked 3 ,
+.Xr pthreads 3 ,
.Xr putc_unlocked 3 ,
-.Xr putchar_unlocked 3 ,
-.Xr pthreads 3
+.Xr putchar_unlocked 3
.Sh STANDARDS
.Fn flockfile ,
.Fn ftrylockfile
diff --git a/lib/libpthread/man/pread.3 b/lib/libpthread/man/pread.3
index 98f82a30f29..f532f2c2e55 100644
--- a/lib/libpthread/man/pread.3
+++ b/lib/libpthread/man/pread.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pread.3,v 1.3 1999/03/22 04:20:04 d Exp $
+.\" $OpenBSD: pread.3,v 1.4 1999/05/16 19:55:45 alex Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd September 7, 1998
.Os
@@ -29,8 +29,8 @@ The
function returns values identical to
.Xr read 2 .
.Sh SEE ALSO
-.Xr pthreads 3 ,
.Xr read 2 ,
+.Xr pthreads 3 ,
.Xr pwrite 3
.Sh STANDARDS
.Fn pread
diff --git a/lib/libpthread/man/pthread_cancel.3 b/lib/libpthread/man/pthread_cancel.3
index 5ba06312a66..d79740f7d7b 100644
--- a/lib/libpthread/man/pthread_cancel.3
+++ b/lib/libpthread/man/pthread_cancel.3
@@ -51,13 +51,13 @@ No thread could be found corresponding to that specified by the given
thread ID.
.El
.Sh SEE ALSO
-.Xr pthread_testcancel 3 ,
-.Xr pthread_setcancelstate 3 ,
-.Xr pthread_setcanceltype 3 ,
.Xr pthread_cleanup_pop 3 ,
.Xr pthread_cleanup_push 3 ,
.Xr pthread_exit 3 ,
-.Xr pthread_join 3
+.Xr pthread_join 3 ,
+.Xr pthread_setcancelstate 3 ,
+.Xr pthread_setcanceltype 3 ,
+.Xr pthread_testcancel 3
.Sh STANDARDS
.Fn pthread_cancel
conforms to ISO/IEC 9945-1 ANSI/IEEE
diff --git a/lib/libpthread/man/pthread_sigmask.3 b/lib/libpthread/man/pthread_sigmask.3
index 6ce85538cd3..dc5bfab20ba 100644
--- a/lib/libpthread/man/pthread_sigmask.3
+++ b/lib/libpthread/man/pthread_sigmask.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_sigmask.3,v 1.1 1999/03/22 04:12:57 d Exp $
+.\" $OpenBSD: pthread_sigmask.3,v 1.2 1999/05/16 19:55:46 alex Exp $
.Dd March 21, 1999
.Os
.Dt PTHREAD_SIGMASK 3
@@ -22,8 +22,8 @@ The return values of
are the same as
.Xr sigprocmask 2 .
.Sh SEE ALSO
-.Xr pthreads 3 ,
-.Xr sigprocmask 2 .
+.Xr sigprocmask 2 ,
+.Xr pthreads 3
.Sh STANDARDS
.Fn pthread_sigmask
conforms to ISO/IEC 9945-1 ANSI/IEEE
diff --git a/lib/libpthread/man/pwrite.3 b/lib/libpthread/man/pwrite.3
index 3f1a07594aa..eb0ea1f81e5 100644
--- a/lib/libpthread/man/pwrite.3
+++ b/lib/libpthread/man/pwrite.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pwrite.3,v 1.3 1999/03/22 04:20:04 d Exp $
+.\" $OpenBSD: pwrite.3,v 1.4 1999/05/16 19:55:47 alex Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd September 7, 1998
.Os
@@ -29,9 +29,9 @@ The
function returns values identical to
.Xr write 2 .
.Sh SEE ALSO
-.Xr pthreads 3 ,
.Xr write 2 ,
-.Xr pread 3
+.Xr pread 3 ,
+.Xr pthreads 3
.Sh STANDARDS
.Fn pread
conforms to TOG SUSv2 .
diff --git a/lib/libpthread/man/sigwait.3 b/lib/libpthread/man/sigwait.3
index bf646699b71..5a8a0a1183c 100644
--- a/lib/libpthread/man/sigwait.3
+++ b/lib/libpthread/man/sigwait.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigwait.3,v 1.5 1999/03/22 04:20:05 d Exp $
+.\" $OpenBSD: sigwait.3,v 1.6 1999/05/16 19:55:47 alex Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd August 20, 1998
.Os
@@ -63,12 +63,12 @@ The
argument contains an invalid or unsupported signal number
.El
.Sh SEE ALSO
-.Xr pause 3 ,
.Xr sigaction 2 ,
.Xr sigpending 2 ,
.Xr sigsuspend 2 ,
-.Xr pthreads 3 ,
-.Xr pthread_sigmask 3
+.Xr pause 3 ,
+.Xr pthread_sigmask 3 ,
+.Xr pthreads 3
.Sh STANDARDS
.Fn sigwait
conforms to ISO/IEC 9945-1 ANSI/IEEE
diff --git a/lib/libtermlib/terminfo.3 b/lib/libtermlib/terminfo.3
index dbfdc86ff3a..278a24922ab 100644
--- a/lib/libtermlib/terminfo.3
+++ b/lib/libtermlib/terminfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: terminfo.3,v 1.4 1998/06/21 22:13:51 millert Exp $
+.\" $OpenBSD: terminfo.3,v 1.5 1999/05/16 19:56:04 alex Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -437,9 +437,9 @@ The XSI Curses standard prototypes
.Fn tparm
with a fixed number of parameters, rather than a variable argument list.
.Sh SEE ALSO
-.Xr curses 3
.Xr curs_initscr 3 ,
.Xr curs_kernel 3 ,
.Xr curs_termcap 3 ,
+.Xr curses 3 ,
.Xr putc 3 ,
.Xr terminfo 5
diff --git a/lib/libutil/scsi.3 b/lib/libutil/scsi.3
index 1632c9826eb..3d1b927495b 100644
--- a/lib/libutil/scsi.3
+++ b/lib/libutil/scsi.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: scsi.3,v 1.2 1999/03/10 21:25:28 pjanzen Exp $
+.\" $OpenBSD: scsi.3,v 1.3 1999/05/16 19:56:05 alex Exp $
.\" Copyright (c) 1994 HD Associates (hd@world.std.com)
.\" All rights reserved.
.\"
@@ -327,8 +327,8 @@ The function
.Fn scsireq_enter
returns the result of the ioctl call.
.Sh SEE ALSO
-.Xr scsi 8 ,
-.Xr scsi 4
+.Xr scsi 4 ,
+.Xr scsi 8
.Sh BUGS
This only works completely for the 1542C. The host adapter code
that sets up the residual amount of data transfer has to be added