summaryrefslogtreecommitdiff
path: root/lib/libc
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/libc
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/libc')
-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
111 files changed, 313 insertions, 314 deletions
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;