summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-01-20 23:23:22 +0000
committerwosch <wosch@FreeBSD.org>1997-01-20 23:23:22 +0000
commit6d0dbd7455d2457305fad8dab1cbd93d75cf5771 (patch)
tree23860e44c1ece8967b4f9b16c420be624a805a80 /lib/libc
parentc25e822b141074240801584c2f7942c95bff2f68 (diff)
downloadFreeBSD-src-6d0dbd7455d2457305fad8dab1cbd93d75cf5771.zip
FreeBSD-src-6d0dbd7455d2457305fad8dab1cbd93d75cf5771.tar.gz
Sort cross references.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/alarm.32
-rw-r--r--lib/libc/gen/directory.34
-rw-r--r--lib/libc/gen/frexp.34
-rw-r--r--lib/libc/gen/getdomainname.34
-rw-r--r--lib/libc/gen/getgrent.34
-rw-r--r--lib/libc/gen/getmntinfo.32
-rw-r--r--lib/libc/gen/getpagesize.34
-rw-r--r--lib/libc/gen/getvfsent.32
-rw-r--r--lib/libc/gen/ldexp.34
-rw-r--r--lib/libc/gen/msgctl.34
-rw-r--r--lib/libc/gen/msgrcv.34
-rw-r--r--lib/libc/gen/nice.32
-rw-r--r--lib/libc/gen/popen.34
-rw-r--r--lib/libc/gen/signal.32
-rw-r--r--lib/libc/gen/ualarm.32
-rw-r--r--lib/libc/gen/usleep.36
-rw-r--r--lib/libc/gen/utime.34
-rw-r--r--lib/libc/locale/mbrune.32
-rw-r--r--lib/libc/locale/multibyte.32
-rw-r--r--lib/libc/locale/rune.32
-rw-r--r--lib/libc/locale/toascii.34
-rw-r--r--lib/libc/locale/tolower.34
-rw-r--r--lib/libc/locale/toupper.34
-rw-r--r--lib/libc/net/getnetent.33
-rw-r--r--lib/libc/net/resolver.32
-rw-r--r--lib/libc/nls/catclose.34
-rw-r--r--lib/libc/stdio/fflush.32
-rw-r--r--lib/libc/stdio/fputs.32
-rw-r--r--lib/libc/stdio/getc.32
-rw-r--r--lib/libc/stdio/scanf.38
-rw-r--r--lib/libc/stdio/setbuf.36
-rw-r--r--lib/libc/stdio/stdio.32
-rw-r--r--lib/libc/stdio/ungetc.32
-rw-r--r--lib/libc/stdlib/abs.34
-rw-r--r--lib/libc/stdlib/bsearch.32
-rw-r--r--lib/libc/stdlib/exit.34
-rw-r--r--lib/libc/stdlib/labs.32
-rw-r--r--lib/libc/stdtime/strftime.32
-rw-r--r--lib/libc/string/strdup.34
-rw-r--r--lib/libc/string/string.312
-rw-r--r--lib/libc/sys/adjtime.22
-rw-r--r--lib/libc/sys/bind.24
-rw-r--r--lib/libc/sys/brk.24
-rw-r--r--lib/libc/sys/chmod.22
-rw-r--r--lib/libc/sys/chown.24
-rw-r--r--lib/libc/sys/close.26
-rw-r--r--lib/libc/sys/connect.24
-rw-r--r--lib/libc/sys/dup.26
-rw-r--r--lib/libc/sys/flock.24
-rw-r--r--lib/libc/sys/getdirentries.24
-rw-r--r--lib/libc/sys/getgid.24
-rw-r--r--lib/libc/sys/getitimer.22
-rw-r--r--lib/libc/sys/getpeername.24
-rw-r--r--lib/libc/sys/ioctl.24
-rw-r--r--lib/libc/sys/kill.22
-rw-r--r--lib/libc/sys/ktrace.24
-rw-r--r--lib/libc/sys/mmap.26
-rw-r--r--lib/libc/sys/mount.24
-rw-r--r--lib/libc/sys/msync.22
-rw-r--r--lib/libc/sys/munmap.22
-rw-r--r--lib/libc/sys/nfssvc.22
-rw-r--r--lib/libc/sys/open.24
-rw-r--r--lib/libc/sys/pipe.26
-rw-r--r--lib/libc/sys/ptrace.22
-rw-r--r--lib/libc/sys/recv.22
-rw-r--r--lib/libc/sys/rfork.26
-rw-r--r--lib/libc/sys/rtprio.22
-rw-r--r--lib/libc/sys/semop.24
-rw-r--r--lib/libc/sys/send.22
-rw-r--r--lib/libc/sys/setuid.24
-rw-r--r--lib/libc/sys/shmat.24
-rw-r--r--lib/libc/sys/shmctl.22
-rw-r--r--lib/libc/sys/shmget.22
-rw-r--r--lib/libc/sys/sigaction.210
-rw-r--r--lib/libc/sys/sigprocmask.24
-rw-r--r--lib/libc/sys/sigsuspend.22
-rw-r--r--lib/libc/sys/socket.24
-rw-r--r--lib/libc/sys/socketpair.24
-rw-r--r--lib/libc/sys/swapon.24
-rw-r--r--lib/libc/sys/symlink.24
80 files changed, 144 insertions, 143 deletions
diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3
index ae0c22d..4d99fa1 100644
--- a/lib/libc/gen/alarm.3
+++ b/lib/libc/gen/alarm.3
@@ -71,8 +71,8 @@ is the amount of time left on the timer from a previous call to
.Fn alarm .
If no alarm is currently set, the return value is 0.
.Sh SEE ALSO
-.Xr sigaction 2 ,
.Xr setitimer 2 ,
+.Xr sigaction 2 ,
.Xr sigpause 2 ,
.Xr sigvec 2 ,
.Xr signal 3 ,
diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3
index 434f197..0abbe5f 100644
--- a/lib/libc/gen/directory.3
+++ b/lib/libc/gen/directory.3
@@ -164,10 +164,10 @@ while ((dp = readdir(dirp)) != NULL)
return NOT_FOUND;
.Ed
.Sh SEE ALSO
-.Xr open 2 ,
.Xr close 2 ,
-.Xr read 2 ,
.Xr lseek 2 ,
+.Xr open 2 ,
+.Xr read 2 ,
.Xr dir 5
.Sh HISTORY
The
diff --git a/lib/libc/gen/frexp.3 b/lib/libc/gen/frexp.3
index 574efa3..58c25fc 100644
--- a/lib/libc/gen/frexp.3
+++ b/lib/libc/gen/frexp.3
@@ -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 d186291..ce2f94a 100644
--- a/lib/libc/gen/getdomainname.3
+++ b/lib/libc/gen/getdomainname.3
@@ -84,8 +84,8 @@ The caller tried to set the hostname and was not the super-user.
.El
.Sh SEE ALSO
.Xr gethostid 3 ,
-.Xr sysctl 3 ,
-.Xr gethostname 3
+.Xr gethostname 3 ,
+.Xr sysctl 3
.Sh BUGS
Domain names are limited to
.Dv MAXHOSTNAMELEN
diff --git a/lib/libc/gen/getgrent.3 b/lib/libc/gen/getgrent.3
index 86ade19..4ed5595 100644
--- a/lib/libc/gen/getgrent.3
+++ b/lib/libc/gen/getgrent.3
@@ -168,8 +168,8 @@ group database file
.El
.Sh SEE ALSO
.Fn getpwent 3 ,
-.Fn group 5 ,
-.Fn yp 4
+.Fn yp 4 ,
+.Fn group 5
.Sh HISTORY
The functions
.Fn endgrent ,
diff --git a/lib/libc/gen/getmntinfo.3 b/lib/libc/gen/getmntinfo.3
index 4b81e05..e92755b 100644
--- a/lib/libc/gen/getmntinfo.3
+++ b/lib/libc/gen/getmntinfo.3
@@ -85,8 +85,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 6d56451..51dbcd1 100644
--- a/lib/libc/gen/getpagesize.3
+++ b/lib/libc/gen/getpagesize.3
@@ -51,8 +51,8 @@ The page size is a system
page size and may not be the same as the underlying
hardware page size.
.Sh SEE ALSO
-.Xr sbrk 2 ,
-.Xr pagesize 1
+.Xr pagesize 1 ,
+.Xr sbrk 2
.Sh HISTORY
The
.Fn getpagesze
diff --git a/lib/libc/gen/getvfsent.3 b/lib/libc/gen/getvfsent.3
index c992341..512a090 100644
--- a/lib/libc/gen/getvfsent.3
+++ b/lib/libc/gen/getvfsent.3
@@ -209,8 +209,8 @@ and
.Fn vfsload
to search for loadable modules.
.Sh SEE ALSO
-.Xr modload 8 ,
.Xr mount 2 ,
+.Xr modload 8 ,
.Xr mount 8
.Sh BUGS
The return value of the
diff --git a/lib/libc/gen/ldexp.3 b/lib/libc/gen/ldexp.3
index a19b329..0307ad1 100644
--- a/lib/libc/gen/ldexp.3
+++ b/lib/libc/gen/ldexp.3
@@ -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/msgctl.3 b/lib/libc/gen/msgctl.3
index 659501f..c55ece4 100644
--- a/lib/libc/gen/msgctl.3
+++ b/lib/libc/gen/msgctl.3
@@ -194,8 +194,8 @@ is not a valid command.
specifies an invalid address.
.El
.Sh SEE ALSO
-.Xr msgsnd 3 ,
+.Xr msgget 3 ,
.Xr msgrcv 3 ,
-.Xr msgget 3
+.Xr msgsnd 3
.Sh HISTORY
Message queues appeared in the first release of AT&T Unix System V.
diff --git a/lib/libc/gen/msgrcv.3 b/lib/libc/gen/msgrcv.3
index 76b94ea..6b43837 100644
--- a/lib/libc/gen/msgrcv.3
+++ b/lib/libc/gen/msgrcv.3
@@ -169,9 +169,9 @@ There is no message of the requested type available on the message queue,
and IPC_NOWAIT is set in
.Fa msgflg .
.Sh SEE ALSO
-.Xr msgsnd 3 ,
.Xr msgctl 3 ,
-.Xr msgget 3
+.Xr msgget 3 ,
+.Xr msgsnd 3
.Sh BUGS
NetBSD and FreeBSD do not define the EIDRM error value, which should be used in
the case of a removed message queue, nor the ENOMSG value, which
diff --git a/lib/libc/gen/nice.3 b/lib/libc/gen/nice.3
index 64a87c6..cbec150 100644
--- a/lib/libc/gen/nice.3
+++ b/lib/libc/gen/nice.3
@@ -57,8 +57,8 @@ Children inherit the priority of their parent processes via
.Xr fork 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 db4adfa..01b0c2f 100644
--- a/lib/libc/gen/popen.3
+++ b/lib/libc/gen/popen.3
@@ -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 cff30ec..b5503d1 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -210,8 +210,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/ualarm.3 b/lib/libc/gen/ualarm.3
index 588cfcd..b64ed96 100644
--- a/lib/libc/gen/ualarm.3
+++ b/lib/libc/gen/ualarm.3
@@ -80,9 +80,9 @@ is 2147483647.
.Xr setitimer 2 ,
.Xr sigpause 2 ,
.Xr sigvec 2 ,
+.Xr alarm 3 ,
.Xr signal 3 ,
.Xr sleep 3 ,
-.Xr alarm 3 ,
.Xr usleep 3
.Sh HISTORY
The
diff --git a/lib/libc/gen/usleep.3 b/lib/libc/gen/usleep.3
index 630e386..66b317a 100644
--- a/lib/libc/gen/usleep.3
+++ b/lib/libc/gen/usleep.3
@@ -72,12 +72,12 @@ such a function would not restart after signals, but would not interfere
with other uses of
.Xr setitimer .
.Sh SEE ALSO
-.Xr setitimer 2 ,
.Xr getitimer 2 ,
+.Xr setitimer 2 ,
.Xr sigpause 2 ,
-.Xr ualarm 3 ,
+.Xr alarm 3 ,
.Xr sleep 3 ,
-.Xr alarm 3
+.Xr ualarm 3
.Sh HISTORY
The
.Fn usleep
diff --git a/lib/libc/gen/utime.3 b/lib/libc/gen/utime.3
index 7c6ed92..785a945 100644
--- a/lib/libc/gen/utime.3
+++ b/lib/libc/gen/utime.3
@@ -73,8 +73,8 @@ function may fail and set
for any of the errors specified for the library function
.Xr utimes 2 .
.Sh SEE ALSO
-.Xr utimes 2 ,
-.Xr stat 2
+.Xr stat 2 ,
+.Xr utimes 2
.Sh HISTORY
A
.Fn utime
diff --git a/lib/libc/locale/mbrune.3 b/lib/libc/locale/mbrune.3
index d843a02..c9515d8 100644
--- a/lib/libc/locale/mbrune.3
+++ b/lib/libc/locale/mbrune.3
@@ -138,10 +138,10 @@ if the
.Fa pattern
does not appear in the string.
.Sh "SEE ALSO
-.Xr euc 4 ,
.Xr mbrune 3 ,
.Xr rune 3 ,
.Xr setlocale 3 ,
+.Xr euc 4 ,
.Xr utf2 4
.Sh HISTORY
The
diff --git a/lib/libc/locale/multibyte.3 b/lib/libc/locale/multibyte.3
index 3ea10e5..7546cb2 100644
--- a/lib/libc/locale/multibyte.3
+++ b/lib/libc/locale/multibyte.3
@@ -222,10 +222,10 @@ not counting any terminating null byte.
If any invalid multibyte characters are encountered,
both functions return \-1.
.Sh "SEE ALSO
-.Xr euc 4 ,
.Xr mbrune 3 ,
.Xr rune 3 ,
.Xr setlocale 3 ,
+.Xr euc 4 ,
.Xr utf2 4
.Sh STANDARDS
The
diff --git a/lib/libc/locale/rune.3 b/lib/libc/locale/rune.3
index 659133f..89acde6 100644
--- a/lib/libc/locale/rune.3
+++ b/lib/libc/locale/rune.3
@@ -238,9 +238,9 @@ as a multibyte string.
binary LC_CTYPE file for the locale \fIlocale\fP.
.El
.Sh "SEE ALSO
-.Xr euc 4 ,
.Xr mbrune 3 ,
.Xr setlocale 3 ,
+.Xr euc 4 ,
.Xr utf2 4
.Sh NOTE
The ANSI C type
diff --git a/lib/libc/locale/toascii.3 b/lib/libc/locale/toascii.3
index 54fa292..788d2f2 100644
--- a/lib/libc/locale/toascii.3
+++ b/lib/libc/locale/toascii.3
@@ -51,9 +51,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 ,
@@ -63,7 +63,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/locale/tolower.3 b/lib/libc/locale/tolower.3
index 49ce819..3f98965 100644
--- a/lib/libc/locale/tolower.3
+++ b/lib/libc/locale/tolower.3
@@ -65,9 +65,9 @@ one; otherwise the argument is returned unchanged.
.\" .Xr islower
.\" is 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 ,
@@ -77,9 +77,9 @@ one; otherwise the argument is returned unchanged.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr toupper 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/locale/toupper.3 b/lib/libc/locale/toupper.3
index cd0b36e..2802637 100644
--- a/lib/libc/locale/toupper.3
+++ b/lib/libc/locale/toupper.3
@@ -65,9 +65,9 @@ one; otherwise the argument is returned unchanged.
.\" .Xr isupper
.\" is 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 ,
@@ -77,9 +77,9 @@ one; otherwise the argument is returned unchanged.
.Xr isspace 3 ,
.Xr isupper 3 ,
.Xr isxdigit 3 ,
+.Xr stdio 3 ,
.Xr toascii 3 ,
.Xr tolower 3 ,
-.Xr stdio 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3
index 6b6aeb9..ba2abc0 100644
--- a/lib/libc/net/getnetent.3
+++ b/lib/libc/net/getnetent.3
@@ -132,7 +132,8 @@ Null pointer
.Dv EOF
or error.
.Sh SEE ALSO
-.Xr networks 5 ,
+.Xr networks 5
+.Pp
.%T RFC 1101
.Sh HISTORY
The
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3
index f157904..dbfe3a9 100644
--- a/lib/libc/net/resolver.3
+++ b/lib/libc/net/resolver.3
@@ -326,9 +326,9 @@ see
.El
.Sh SEE ALSO
.Xr gethostbyname 3 ,
-.Xr named 8 ,
.Xr resolver 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 f752784..2682b2f 100644
--- a/lib/libc/nls/catclose.3
+++ b/lib/libc/nls/catclose.3
@@ -44,8 +44,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 ce3f1b7..abc8c67 100644
--- a/lib/libc/stdio/fflush.3
+++ b/lib/libc/stdio/fflush.3
@@ -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 5578ec2..0961366 100644
--- a/lib/libc/stdio/fputs.3
+++ b/lib/libc/stdio/fputs.3
@@ -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 352f20b..0c63fbe 100644
--- a/lib/libc/stdio/getc.3
+++ b/lib/libc/stdio/getc.3
@@ -106,8 +106,8 @@ until the condition is cleared with
.Xr clearerr 3 .
.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/scanf.3 b/lib/libc/stdio/scanf.3
index dbfff88..e262d42 100644
--- a/lib/libc/stdio/scanf.3
+++ b/lib/libc/stdio/scanf.3
@@ -391,11 +391,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 30e9db7..a94dec1 100644
--- a/lib/libc/stdio/setbuf.3
+++ b/lib/libc/stdio/setbuf.3
@@ -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 5b200c0..81a6970 100644
--- a/lib/libc/stdio/stdio.3
+++ b/lib/libc/stdio/stdio.3
@@ -204,8 +204,8 @@ and
exist and will be used if the macros
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 e88b64f..e5c68d0 100644
--- a/lib/libc/stdio/ungetc.3
+++ b/lib/libc/stdio/ungetc.3
@@ -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 132d905..233aa31 100644
--- a/lib/libc/stdlib/abs.3
+++ b/lib/libc/stdlib/abs.3
@@ -60,10 +60,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/bsearch.3 b/lib/libc/stdlib/bsearch.3
index e4cf49f..a4e076e 100644
--- a/lib/libc/stdlib/bsearch.3
+++ b/lib/libc/stdlib/bsearch.3
@@ -81,7 +81,7 @@ If two members compare as equal, which member is matched is unspecified.
.Sh SEE ALSO
.Xr db 3 ,
.Xr lsearch 3 ,
-.Xr qsort 3 ,
+.Xr qsort 3
.\" .Xr tsearch 3
.Sh STANDARDS
The
diff --git a/lib/libc/stdlib/exit.3 b/lib/libc/stdlib/exit.3
index 8beca7c..de91276 100644
--- a/lib/libc/stdlib/exit.3
+++ b/lib/libc/stdlib/exit.3
@@ -79,8 +79,8 @@ never returns.
.Xr _exit 2 ,
.Xr atexit 3 ,
.Xr intro 3 ,
-.Xr tmpfile 3 ,
-.Xr sysexits 3
+.Xr sysexits 3 ,
+.Xr tmpfile 3
.Sh STANDARDS
The
.Fn exit
diff --git a/lib/libc/stdlib/labs.3 b/lib/libc/stdlib/labs.3
index ef9ba80..2dba8cc 100644
--- a/lib/libc/stdlib/labs.3
+++ b/lib/libc/stdlib/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/stdtime/strftime.3 b/lib/libc/stdtime/strftime.3
index 6f4a86b..9a1f2d5 100644
--- a/lib/libc/stdtime/strftime.3
+++ b/lib/libc/stdtime/strftime.3
@@ -196,8 +196,8 @@ is replaced by
.El
.Sh SEE ALSO
.Xr date 1 ,
-.Xr ctime 3 ,
.Xr printf 1 ,
+.Xr ctime 3 ,
.Xr printf 3
.Sh STANDARDS
The
diff --git a/lib/libc/string/strdup.3 b/lib/libc/string/strdup.3
index 6d076ff..e93ee29 100644
--- a/lib/libc/string/strdup.3
+++ b/lib/libc/string/strdup.3
@@ -56,8 +56,8 @@ argument to the function
.Pp
If insufficient memory is available, NULL is returned.
.Sh SEE ALSO
-.Xr malloc 3 ,
-.Xr free 3
+.Xr free 3 ,
+.Xr malloc 3
.Sh HISTORY
The
.Fn strdup
diff --git a/lib/libc/string/string.3 b/lib/libc/string/string.3
index da20862..f380189 100644
--- a/lib/libc/string/string.3
+++ b/lib/libc/string/string.3
@@ -115,23 +115,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/sys/adjtime.2 b/lib/libc/sys/adjtime.2
index 712f0cb..ddb8137 100644
--- a/lib/libc/sys/adjtime.2
+++ b/lib/libc/sys/adjtime.2
@@ -98,7 +98,7 @@ The process's effective user ID is not that of the super-user.
.Xr date 1 ,
.Xr gettimeofday 2 ,
.Xr timed 8 ,
-.Xr timedc 8 ,
+.Xr timedc 8
.Rs
.%T "TSP: The Time Synchronization Protocol for UNIX 4.3BSD"
.%A R. Gusella
diff --git a/lib/libc/sys/bind.2 b/lib/libc/sys/bind.2
index 97f87ff..2094852 100644
--- a/lib/libc/sys/bind.2
+++ b/lib/libc/sys/bind.2
@@ -136,9 +136,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 b587208..6867fcb 100644
--- a/lib/libc/sys/brk.2
+++ b/lib/libc/sys/brk.2
@@ -132,8 +132,8 @@ to support the expansion.
.Sh SEE ALSO
.Xr execve 2 ,
.Xr getrlimit 2 ,
-.Xr malloc 3 ,
-.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 18b1ebd..683f3da 100644
--- a/lib/libc/sys/chmod.2
+++ b/lib/libc/sys/chmod.2
@@ -160,8 +160,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 d8b449b..2b4d6b8 100644
--- a/lib/libc/sys/chown.2
+++ b/lib/libc/sys/chown.2
@@ -125,10 +125,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 0923c73..2750fbe 100644
--- a/lib/libc/sys/close.2
+++ b/lib/libc/sys/close.2
@@ -130,13 +130,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
The
.Fn close
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2
index 7302647..446fab5 100644
--- a/lib/libc/sys/connect.2
+++ b/lib/libc/sys/connect.2
@@ -159,9 +159,9 @@ Too many symbolic links were encountered in translating the pathname.
.El
.Sh SEE ALSO
.Xr accept 2 ,
+.Xr getsockname 2 ,
.Xr select 2 ,
-.Xr socket 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 d3ea74e..8f7f1eb 100644
--- a/lib/libc/sys/dup.2
+++ b/lib/libc/sys/dup.2
@@ -164,13 +164,13 @@ Too many descriptors are active.
.El
.Sh SEE ALSO
.Xr accept 2 ,
-.Xr open 2 ,
.Xr close 2 ,
.Xr fcntl 2 ,
+.Xr getdtablesize 2 ,
+.Xr open 2 ,
.Xr pipe 2 ,
.Xr socket 2 ,
-.Xr socketpair 2 ,
-.Xr getdtablesize 2
+.Xr socketpair 2
.Sh STANDARDS
The
.Fn dup
diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2
index 40edd3c..966f7a9 100644
--- a/lib/libc/sys/flock.2
+++ b/lib/libc/sys/flock.2
@@ -159,11 +159,11 @@ The argument
refers to an object that does not support file locking.
.El
.Sh SEE ALSO
-.Xr open 2 ,
.Xr close 2 ,
.Xr dup 2 ,
.Xr execve 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 af1ca7a..42857bb 100644
--- a/lib/libc/sys/getdirentries.2
+++ b/lib/libc/sys/getdirentries.2
@@ -166,8 +166,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 21a7cc2..987f2a3 100644
--- a/lib/libc/sys/getgid.2
+++ b/lib/libc/sys/getgid.2
@@ -69,8 +69,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
The
.Fn getgid
diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2
index 4e53188..d4534af 100644
--- a/lib/libc/sys/getitimer.2
+++ b/lib/libc/sys/getitimer.2
@@ -156,9 +156,9 @@ parameter specified a time that was too large
to be handled.
.El
.Sh SEE ALSO
+.Xr gettimeofday 2 ,
.Xr select 2 ,
.Xr sigvec 2 ,
-.Xr gettimeofday 2 ,
.Xr clocks 7
.Sh HISTORY
The
diff --git a/lib/libc/sys/getpeername.2 b/lib/libc/sys/getpeername.2
index abfe0c9..b9b6a03 100644
--- a/lib/libc/sys/getpeername.2
+++ b/lib/libc/sys/getpeername.2
@@ -104,8 +104,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/ioctl.2 b/lib/libc/sys/ioctl.2
index f848938..a1d5f79 100644
--- a/lib/libc/sys/ioctl.2
+++ b/lib/libc/sys/ioctl.2
@@ -120,8 +120,8 @@ is not valid.
.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/kill.2 b/lib/libc/sys/kill.2
index 3d53ada..418b751 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -120,8 +120,8 @@ 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 getpid 2 ,
.Xr killpg 2 ,
.Xr sigaction 2
.Sh STANDARDS
diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2
index 213fe9b..89baa51 100644
--- a/lib/libc/sys/ktrace.2
+++ b/lib/libc/sys/ktrace.2
@@ -154,8 +154,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/mmap.2 b/lib/libc/sys/mmap.2
index a616a2c..855a032 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -210,13 +210,13 @@ parameter wasn't available.
.Dv MAP_ANON
was specified and insufficient memory was available.
.Sh "SEE ALSO"
-.Xr msync 2 ,
-.Xr munmap 2 ,
-.Xr mprotect 2 ,
.Xr madvise 2 ,
.Xr mincore 2 ,
.Xr mlock 2 ,
+.Xr mprotect 2 ,
+.Xr msync 2 ,
.Xr munlock 2 ,
+.Xr munmap 2 ,
.Xr getpagesize 3
.Sh BUGS
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index 0fc39d3..82c7f22 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -327,9 +327,9 @@ or
mount can also fail if the maximum number of filesystems are currently
mounted.
.Sh SEE ALSO
+.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 b1c3b3e..f21ff29 100644
--- a/lib/libc/sys/msync.2
+++ b/lib/libc/sys/msync.2
@@ -87,7 +87,7 @@ was both MS_ASYNC and MS_INVALIDATE. Only one of these flags is allowed.
.Xr madvise 2 ,
.Xr mincore 2 ,
.Xr mprotect 2 ,
-.Xr munmap 2 ,
+.Xr munmap 2
.Sh HISTORY
The
.Fn msync
diff --git a/lib/libc/sys/munmap.2 b/lib/libc/sys/munmap.2
index c7aba9e..208dc0b 100644
--- a/lib/libc/sys/munmap.2
+++ b/lib/libc/sys/munmap.2
@@ -71,8 +71,8 @@ valid address space.
.Sh "SEE ALSO"
.Xr madvise 2 ,
.Xr mincore 2 ,
-.Xr msync 2 ,
.Xr mprotect 2 ,
+.Xr msync 2 ,
.Xr munmap 2 ,
.Xr getpagesize 3
.Sh HISTORY
diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2
index e113fd0..4ba2861 100644
--- a/lib/libc/sys/nfssvc.2
+++ b/lib/libc/sys/nfssvc.2
@@ -215,8 +215,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 7dcaeaf..11d2906 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -276,8 +276,8 @@ An attempt was made to open a socket (not currently implemented).
.Xr getdtablesize 2 ,
.Xr lseek 2 ,
.Xr read 2 ,
-.Xr write 2 ,
-.Xr umask 2
+.Xr umask 2 ,
+.Xr write 2
.Sh HISTORY
An
.Fn open
diff --git a/lib/libc/sys/pipe.2 b/lib/libc/sys/pipe.2
index 9a03c84..d50c94f 100644
--- a/lib/libc/sys/pipe.2
+++ b/lib/libc/sys/pipe.2
@@ -107,10 +107,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 HISTORY
A
.Fn pipe
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index a7bfa2e..999f0d4 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -280,9 +280,9 @@ on a process in violation of the requirements listed under
above.
.El
.Sh SEE ALSO
+.Xr execve 2 ,
.Xr sigaction 2 ,
.Xr wait 2 ,
-.Xr execve 2 ,
.Xr execv 3
.Sh HISTORY
A
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index 02f841b..5751022 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -252,9 +252,9 @@ address space.
.El
.Sh SEE ALSO
.Xr fcntl 2 ,
+.Xr getsockopt 2 ,
.Xr read 2 ,
.Xr select 2 ,
-.Xr getsockopt 2 ,
.Xr socket 2
.Sh HISTORY
The
diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2
index 1ba7b56..4a54149 100644
--- a/lib/libc/sys/rfork.2
+++ b/lib/libc/sys/rfork.2
@@ -127,10 +127,10 @@ Both the RFFDG and the RFCFDG flags were specified.
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/rtprio.2 b/lib/libc/sys/rtprio.2
index f82cc8b..63a3b64 100644
--- a/lib/libc/sys/rtprio.2
+++ b/lib/libc/sys/rtprio.2
@@ -98,9 +98,9 @@ The specified process was not found.
The original author was Henrik Vestergaard Draboel - hvd@terry.ping.dk. This
implementation in FreeBSD was substantially rewritten by David Greenman.
.Sh SEE ALSO
-.Xr rtprio 1 ,
.Xr nice 1 ,
.Xr ps 1 ,
+.Xr rtprio 1 ,
.Xr setpriority 2 ,
.Xr nice 3 ,
.Xr renice 8
diff --git a/lib/libc/sys/semop.2 b/lib/libc/sys/semop.2
index ef24a7d..f1978c1 100644
--- a/lib/libc/sys/semop.2
+++ b/lib/libc/sys/semop.2
@@ -188,5 +188,5 @@ Too many operations were specified.
.Fa sem_num
was not in the range of valid semaphores for the set.
.Sh SEE ALSO
-.Xr semget 2 ,
-.Xr semctl 2
+.Xr semctl 2 ,
+.Xr semget 2
diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2
index abeadb6..ac9451a 100644
--- a/lib/libc/sys/send.2
+++ b/lib/libc/sys/send.2
@@ -167,9 +167,9 @@ but may be caused by transient congestion.
.El
.Sh SEE ALSO
.Xr fcntl 2 ,
+.Xr getsockopt 2 ,
.Xr recv 2 ,
.Xr select 2 ,
-.Xr getsockopt 2 ,
.Xr socket 2 ,
.Xr write 2
.Sh HISTORY
diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2
index cfd8cbf..81f5516a 100644
--- a/lib/libc/sys/setuid.2
+++ b/lib/libc/sys/setuid.2
@@ -122,8 +122,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 getgid 2 ,
+.Xr getuid 2
.Sh STANDARDS
The
.Fn setuid
diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2
index 72b5287..bae729e 100644
--- a/lib/libc/sys/shmat.2
+++ b/lib/libc/sys/shmat.2
@@ -106,5 +106,5 @@ will fail if:
.Fa addr
does not point to a shared memory segment.
.Sh "SEE ALSO"
-.Xr shmget 2 ,
-.Xr shmctl 2
+.Xr shmctl 2 ,
+.Xr shmget 2
diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2
index c704467..6f684a7 100644
--- a/lib/libc/sys/shmctl.2
+++ b/lib/libc/sys/shmctl.2
@@ -130,7 +130,7 @@ the shared memory segment's owner or creator.
Permission denied due to mismatch between operation and mode of
shared memory segment.
.Sh "SEE ALSO"
-.Xr shmget 2 ,
.Xr shmat 2 ,
.Xr shmdt 2 ,
+.Xr shmget 2 ,
.Xr ftok 3
diff --git a/lib/libc/sys/shmget.2 b/lib/libc/sys/shmget.2
index 8c93fd2..27bf16f 100644
--- a/lib/libc/sys/shmget.2
+++ b/lib/libc/sys/shmget.2
@@ -132,7 +132,7 @@ corresponding to
already exists.
.Pp
.Sh "SEE ALSO"
-.Xr shmctl 2 ,
.Xr shmat 2 ,
+.Xr shmctl 2 ,
.Xr shmdt 2 ,
.Xr ftok 3
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index 2f939cf..36d0ef0 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -369,15 +369,15 @@ and
are intended for backwards compatability with other operating systems.
.Sh SEE ALSO
.Xr kill 1 ,
-.Xr ptrace 2 ,
.Xr kill 2 ,
+.Xr ptrace 2 ,
.Xr sigaction 2 ,
-.Xr sigprocmask 2 ,
-.Xr sigsuspend 2 ,
+.Xr sigaltstack 2 ,
.Xr sigblock 2 ,
-.Xr sigsetmask 2 ,
.Xr sigpause 2 ,
-.Xr sigaltstack 2 ,
+.Xr sigprocmask 2 ,
+.Xr sigsetmask 2 ,
+.Xr sigsuspend 2 ,
.Xr sigvec 2 ,
.Xr setjmp 3 ,
.Xr siginterrupt 3 ,
diff --git a/lib/libc/sys/sigprocmask.2 b/lib/libc/sys/sigprocmask.2
index 9f6685c..af1b574 100644
--- a/lib/libc/sys/sigprocmask.2
+++ b/lib/libc/sys/sigprocmask.2
@@ -110,8 +110,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 33c4b338..0c77bcb 100644
--- a/lib/libc/sys/sigsuspend.2
+++ b/lib/libc/sys/sigsuspend.2
@@ -69,8 +69,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 c9c5f71..cadaf2a 100644
--- a/lib/libc/sys/socket.2
+++ b/lib/libc/sys/socket.2
@@ -241,7 +241,6 @@ 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 ,
@@ -252,7 +251,8 @@ The socket cannot be created until sufficient resources are freed.
.Xr send 2 ,
.Xr shutdown 2 ,
.Xr socketpair 2 ,
-.Xr write 2
+.Xr write 2 ,
+.Xr getprotoent 3
.Rs
.%T "An Introductory 4.3 BSD Interprocess Communication Tutorial"
.%B PS1
diff --git a/lib/libc/sys/socketpair.2 b/lib/libc/sys/socketpair.2
index f48e496..62aef76 100644
--- a/lib/libc/sys/socketpair.2
+++ b/lib/libc/sys/socketpair.2
@@ -77,9 +77,9 @@ The address
does not specify a valid part of the
process address space.
.Sh SEE ALSO
+.Xr pipe 2 ,
.Xr read 2 ,
-.Xr write 2 ,
-.Xr pipe 2
+.Xr write 2
.Sh BUGS
This call is currently implemented only for the
.Tn UNIX
diff --git a/lib/libc/sys/swapon.2 b/lib/libc/sys/swapon.2
index 16a0125..b684da1 100644
--- a/lib/libc/sys/swapon.2
+++ b/lib/libc/sys/swapon.2
@@ -97,8 +97,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 2d5afa4..ce1fa7e 100644
--- a/lib/libc/sys/symlink.2
+++ b/lib/libc/sys/symlink.2
@@ -127,8 +127,8 @@ points outside the process's allocated address space.
.Xr link 2 ,
.Xr lstat 2 ,
.Xr readlink 2 ,
-.Xr symlink 7 ,
-.Xr unlink 2
+.Xr unlink 2 ,
+.Xr symlink 7
.Sh HISTORY
The
.Fn symlink
OpenPOWER on IntegriCloud