diff --git a/lib/libc/gen/alarm.3 b/lib/libc/gen/alarm.3 index ae0c22d45024..4d99fa108d9d 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 434f197e0f91..0abbe5fc6192 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 574efa351b56..58c25fccb8f7 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 d186291578e0..ce2f94af0217 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 86ade195e57b..4ed5595b0a8f 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 4b81e05828b8..e92755b7ba98 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 6d5645192d91..51dbcd16abb7 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 c992341cd73f..512a0902b64b 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 a19b329c7e64..0307ad1bde83 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 659501f3d625..c55ece439cd0 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 76b94ea628df..6b4383711144 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 64a87c6d2277..cbec15083955 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 db4adfa8cf59..01b0c2fbdbec 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 cff30ec589f6..b5503d169ca8 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 588cfcdd6a70..b64ed967462f 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 630e3865eaa8..66b317a3b704 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 7c6ed926bdee..785a9457975e 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 d843a029c2ca..c9515d87f55f 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 3ea10e5ace3d..7546cb21e7ad 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 659133f1febd..89acde674a2e 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 54fa29204446..788d2f2f1648 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 49ce819afc8a..3f989655f3a0 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 cd0b36e79e14..2802637abe11 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 6b6aeb9a7935..ba2abc034617 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 f157904db337..dbfe3a9e16e6 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 f75278442b10..2682b2f51bbe 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 ce3f1b7e61d6..abc8c676a4ff 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 5578ec2f52d6..0961366dc09b 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 352f20baf7cc..0c63fbec5bc1 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 dbfff8871273..e262d421053a 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 30e9db75db5d..a94dec17a304 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 5b200c051eae..81a69708694b 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 e88b64f028c2..e5c68d0640b5 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 132d90521cda..233aa31bd237 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 e4cf49fac322..a4e076e4b201 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 8beca7c6fae8..de9127659ea2 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 ef9ba804e1eb..2dba8ccf5b93 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 6f4a86b9bed9..9a1f2d5bfff9 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 6d076ff3498e..e93ee298a6a3 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 da20862fab8f..f3801894745f 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 712f0cb936d8..ddb813745667 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 97f87ff4ac02..209485262519 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 b587208e8501..6867fcb9ec86 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 18b1ebdf0ed8..683f3da87ac4 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 d8b449be9b95..2b4d6b83332f 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 0923c73d6025..2750fbef09bc 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 7302647474d7..446fab52608b 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 d3ea74e84155..8f7f1eb9c2de 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 40edd3c8a66a..966f7a95ce88 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 af1ca7a17e65..42857bb4de25 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 21a7cc270005..987f2a37d860 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 4e531885c571..d4534af303d1 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 abfe0c9c33d7..b9b6a0361699 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 f848938c5919..a1d5f7963cba 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 3d53ada49959..418b75108c7c 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 213fe9bff791..89baa51e7c3e 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 a616a2cc580f..855a032cae53 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 0fc39d3b5dfe..82c7f2211a26 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 b1c3b3e3a8d8..f21ff295c307 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 c7aba9e7f844..208dc0bbd891 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 e113fd0a46e3..4ba28610ddcb 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 7dcaeafd1138..11d290628a44 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 9a03c8448e45..d50c94f2d0cb 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 a7bfa2e36d2b..999f0d45064c 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 02f841b383e7..575102249f61 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 1ba7b56581f5..4a541497c3ef 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 f82cc8bb1f7d..63a3b6417e93 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 ef24a7d19b1b..f1978c142ef9 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 abeadb6b9e6d..ac9451a404a5 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 cfd8cbffef63..81f5516a14b5 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 72b5287f4083..bae729e5f5e5 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 c704467d22c2..6f684a7698e3 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 8c93fd25c14d..27bf16fdd1d4 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 2f939cfc004c..36d0ef00f038 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 sigblock 2 , -.Xr sigsetmask 2 , -.Xr sigpause 2 , .Xr sigaltstack 2 , +.Xr sigblock 2 , +.Xr sigpause 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 9f6685cad232..af1b574ded97 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 33c4b3389a49..0c77bcb3ea6b 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 c9c5f71e2418..cadaf2ac79e3 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 f48e496b9902..62aef7646a61 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 16a0125b38dc..b684da1a30ad 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 2d5afa495f37..ce1fa7e86876 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 diff --git a/lib/libc_r/man/pthread_create.3 b/lib/libc_r/man/pthread_create.3 index 5ac24e8cdadd..aa8158802803 100644 --- a/lib/libc_r/man/pthread_create.3 +++ b/lib/libc_r/man/pthread_create.3 @@ -99,9 +99,9 @@ is invalid. .El .Pp .Sh SEE ALSO +.Xr fork 2 , .Xr pthread_exit 3 , -.Xr pthread_join 3 , -.Xr fork 2 +.Xr pthread_join 3 .Sh STANDARDS .Fn pthread_create is expected to conform to IEEE diff --git a/lib/libc_r/man/pthread_exit.3 b/lib/libc_r/man/pthread_exit.3 index 99b5b1f3f3f1..aad365e545dc 100644 --- a/lib/libc_r/man/pthread_exit.3 +++ b/lib/libc_r/man/pthread_exit.3 @@ -88,10 +88,10 @@ function cannot return to its caller. None. .Pp .Sh SEE ALSO -.Xr pthread_create 3 , -.Xr pthread_join 3 , +.Xr _exit 2 , .Xr exit 2 , -.Xr _exit 2 +.Xr pthread_create 3 , +.Xr pthread_join 3 .Sh STANDARDS .Fn pthread_exit is expected to conform to IEEE diff --git a/lib/libc_r/man/pthread_join.3 b/lib/libc_r/man/pthread_join.3 index 374b83261ba5..cabf319c08f4 100644 --- a/lib/libc_r/man/pthread_join.3 +++ b/lib/libc_r/man/pthread_join.3 @@ -91,8 +91,8 @@ specifies the calling thread. .El .Pp .Sh SEE ALSO -.Xr pthread_create 3 , -.Xr wait 2 +.Xr wait 2 , +.Xr pthread_create 3 .Sh STANDARDS .Fn pthread_join is expected to conform to IEEE diff --git a/lib/libc_r/man/pthread_key_create.3 b/lib/libc_r/man/pthread_key_create.3 index 1bcf9e04c22e..25165cec9f53 100644 --- a/lib/libc_r/man/pthread_key_create.3 +++ b/lib/libc_r/man/pthread_key_create.3 @@ -89,8 +89,8 @@ Insufficient memory exists to create the key. .Pp .Sh SEE ALSO .Xr pthread_getspecific 3 , -.Xr pthread_setspecific 3 , -.Xr pthread_key_delete 3 +.Xr pthread_key_delete 3 , +.Xr pthread_setspecific 3 .Sh STANDARDS .Fn pthread_key_create is expected to conform to IEEE diff --git a/lib/libc_r/man/pthread_key_delete.3 b/lib/libc_r/man/pthread_key_delete.3 index 732c562ff3a3..badfa8c7b761 100644 --- a/lib/libc_r/man/pthread_key_delete.3 +++ b/lib/libc_r/man/pthread_key_delete.3 @@ -82,8 +82,8 @@ value is invalid. .El .Pp .Sh SEE ALSO -.Xr pthread_key_create 3 , .Xr pthread_getspecific 3 , +.Xr pthread_key_create 3 , .Xr pthread_setspecific 3 .Sh STANDARDS .Fn pthread_key_delete diff --git a/lib/libc_r/man/pthread_setspecific.3 b/lib/libc_r/man/pthread_setspecific.3 index 05b947f6875b..838b5875a093 100644 --- a/lib/libc_r/man/pthread_setspecific.3 +++ b/lib/libc_r/man/pthread_setspecific.3 @@ -81,9 +81,9 @@ value is invalid. .El .Pp .Sh SEE ALSO +.Xr pthread_getspecific 3 , .Xr pthread_key_create 3 , -.Xr pthread_key_delete 3 , -.Xr pthread_getspecific 3 +.Xr pthread_key_delete 3 .Sh STANDARDS .Fn pthread_setspecific is expected to conform to IEEE diff --git a/lib/libcompat/4.1/ftime.3 b/lib/libcompat/4.1/ftime.3 index c1e9c3a0dc82..097eaa6c0474 100644 --- a/lib/libcompat/4.1/ftime.3 +++ b/lib/libcompat/4.1/ftime.3 @@ -75,8 +75,8 @@ Daylight Saving time applies locally during the appropriate part of the year. .Sh SEE ALSO .Xr gettimeofday 2 , .Xr settimeofday 2 , -.Xr time 3 , -.Xr ctime 3 +.Xr ctime 3 , +.Xr time 3 .Sh HISTORY The .Nm diff --git a/lib/libcompat/4.1/vtimes.3 b/lib/libcompat/4.1/vtimes.3 index 3edb7413366e..6eeee646a53a 100644 --- a/lib/libcompat/4.1/vtimes.3 +++ b/lib/libcompat/4.1/vtimes.3 @@ -131,8 +131,8 @@ These numbers account only for real data supplied by the caching mechanism is charged only to the first process to read or write the data. .Sh SEE ALSO -.Xr wait3 2 , .Xr getrusage 2 , +.Xr wait3 2 , .Xr time 3 .Sh HISTORY The diff --git a/lib/libcompat/4.3/re_comp.3 b/lib/libcompat/4.3/re_comp.3 index 26e1413973d0..1c6a91d1d590 100644 --- a/lib/libcompat/4.3/re_comp.3 +++ b/lib/libcompat/4.3/re_comp.3 @@ -110,8 +110,8 @@ unmatched \e). .Ed .Sh SEE ALSO .Xr ed 1 , -.Xr ex 1 , .Xr egrep 1 , +.Xr ex 1 , .Xr fgrep 1 , .Xr grep 1 , .Xr regex 3 diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3 index 998751b0f6c6..667656615863 100644 --- a/lib/libcompat/4.4/cuserid.3 +++ b/lib/libcompat/4.4/cuserid.3 @@ -78,5 +78,5 @@ the buffer .Fa s will be filled with a null string. .Sh SEE ALSO -.Xr getpwuid 3 , -.Xr geteuid 2 . +.Xr geteuid 2 , +.Xr getpwuid 3 diff --git a/lib/libcompat/regexp/regexp.3 b/lib/libcompat/regexp/regexp.3 index 8d3b5657036b..f99202e2ff39 100644 --- a/lib/libcompat/regexp/regexp.3 +++ b/lib/libcompat/regexp/regexp.3 @@ -281,9 +281,9 @@ where failures are syntax errors, exceeding implementation limits, or applying `+' or `*' to a possibly-null operand. .Sh SEE ALSO .Xr ed 1 , +.Xr egrep 1 , .Xr ex 1 , .Xr expr 1 , -.Xr egrep 1 , .Xr fgrep 1 , .Xr grep 1 , .Xr regex 3 diff --git a/lib/libkvm/kvm_getfiles.3 b/lib/libkvm/kvm_getfiles.3 index 60b0758b8b2d..54a3270dfb87 100644 --- a/lib/libkvm/kvm_getfiles.3 +++ b/lib/libkvm/kvm_getfiles.3 @@ -76,10 +76,10 @@ will return NULL on failure. This routine does not belong in the kvm interface. .Sh SEE ALSO .Xr kvm 3 , +.Xr kvm_close 3 , +.Xr kvm_geterr 3 , +.Xr kvm_nlist 3 , .Xr kvm_open 3 , .Xr kvm_openfiles 3 , -.Xr kvm_close 3 , .Xr kvm_read 3 , -.Xr kvm_write 3 , -.Xr kvm_nlist 3 , -.Xr kvm_geterr 3 +.Xr kvm_write 3 diff --git a/lib/libkvm/kvm_getloadavg.3 b/lib/libkvm/kvm_getloadavg.3 index 65768dec011e..f5ca4699cf46 100644 --- a/lib/libkvm/kvm_getloadavg.3 +++ b/lib/libkvm/kvm_getloadavg.3 @@ -60,5 +60,5 @@ If the load average was unobtainable, \-1 is returned; otherwise, the number of samples actually retrieved is returned. .Sh SEE ALSO .Xr uptime 1 , -.Xr kvm 3 , -.Xr getloadavg 3 +.Xr getloadavg 3 , +.Xr kvm 3 diff --git a/lib/libm/common_source/acos.3 b/lib/libm/common_source/acos.3 index 6f1f3864f19b..4613957d38e9 100644 --- a/lib/libm/common_source/acos.3 +++ b/lib/libm/common_source/acos.3 @@ -71,16 +71,16 @@ to .Dv EDOM and a reserved operand fault is generated. .Sh SEE ALSO -.Xr sin 3 , -.Xr cos 3 , -.Xr tan 3 , .Xr asin 3 , .Xr atan 3 , .Xr atan2 3 , -.Xr sinh 3 , +.Xr cos 3 , .Xr cosh 3 , -.Xr tanh 3 , .Xr math 3 , +.Xr sin 3 , +.Xr sinh 3 , +.Xr tan 3 , +.Xr tanh 3 .Sh STANDARDS The .Fn acos diff --git a/lib/libm/common_source/acosh.3 b/lib/libm/common_source/acosh.3 index 3023da506500..347516280471 100644 --- a/lib/libm/common_source/acosh.3 +++ b/lib/libm/common_source/acosh.3 @@ -72,8 +72,8 @@ causes a reserved operand fault. .Xr asinh 3 , .Xr atanh 3 , .Xr exp 3 , -.Xr infnan 3 -.Xr math 3 , +.Xr infnan 3 , +.Xr math 3 .Sh HISTORY The .Fn acosh diff --git a/lib/libm/common_source/asin.3 b/lib/libm/common_source/asin.3 index 9ca39caca63f..ebd4671ec1bd 100644 --- a/lib/libm/common_source/asin.3 +++ b/lib/libm/common_source/asin.3 @@ -78,11 +78,11 @@ a reserved operand fault generated. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , .Xr tan 3 , -.Xr tanh 3 , -.Xr math 3 , +.Xr tanh 3 .Sh STANDARDS The .Fn asin diff --git a/lib/libm/common_source/asinh.3 b/lib/libm/common_source/asinh.3 index 3958960399a8..cd0b983db1e6 100644 --- a/lib/libm/common_source/asinh.3 +++ b/lib/libm/common_source/asinh.3 @@ -60,8 +60,8 @@ returns the inverse hyperbolic sine of .Xr acosh 3 , .Xr atanh 3 , .Xr exp 3 , -.Xr infnan 3 -.Xr math 3 , +.Xr infnan 3 , +.Xr math 3 .Sh HISTORY The .Fn asinh diff --git a/lib/libm/common_source/atan.3 b/lib/libm/common_source/atan.3 index 776978e03bc4..11190330adc0 100644 --- a/lib/libm/common_source/atan.3 +++ b/lib/libm/common_source/atan.3 @@ -62,11 +62,11 @@ radians. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , .Xr tan 3 , -.Xr tanh 3 , -.Xr math 3 , +.Xr tanh 3 .Sh STANDARDS The .Fn atan diff --git a/lib/libm/common_source/atanh.3 b/lib/libm/common_source/atanh.3 index 6f085362e283..49d669fd389e 100644 --- a/lib/libm/common_source/atanh.3 +++ b/lib/libm/common_source/atanh.3 @@ -74,8 +74,8 @@ a reserved operand fault is generated. .Xr acosh 3 , .Xr asinh 3 , .Xr exp 3 , -.Xr infnan 3 -.Xr math 3 , +.Xr infnan 3 , +.Xr math 3 .Sh HISTORY The .Fn atanh diff --git a/lib/libm/common_source/ceil.3 b/lib/libm/common_source/ceil.3 index 1c0e6b0ffe9e..080f30ea0c32 100644 --- a/lib/libm/common_source/ceil.3 +++ b/lib/libm/common_source/ceil.3 @@ -55,9 +55,9 @@ expressed as a double. .Xr abs 3 , .Xr fabs 3 , .Xr floor 3 , -.Xr rint 3 , .Xr ieee 3 , -.Xr math 3 . +.Xr math 3 , +.Xr rint 3 .Sh STANDARDS The .Fn ceil diff --git a/lib/libm/common_source/cos.3 b/lib/libm/common_source/cos.3 index d1051ed64e27..d279d38b3783 100644 --- a/lib/libm/common_source/cos.3 +++ b/lib/libm/common_source/cos.3 @@ -56,16 +56,16 @@ The .Fn cos function returns the cosine value. .Sh SEE ALSO -.Xr sin 3 , -.Xr tan 3 , -.Xr asin 3 , .Xr acos 3 , +.Xr asin 3 , .Xr atan 3 , .Xr atan2 3 , -.Xr sinh 3 , .Xr cosh 3 , -.Xr tanh 3 , .Xr math 3 , +.Xr sin 3 , +.Xr sinh 3 , +.Xr tan 3 , +.Xr tanh 3 .Sh STANDARDS The .Fn acos diff --git a/lib/libm/common_source/cosh.3 b/lib/libm/common_source/cosh.3 index 4eabf55de62c..f88c848453e5 100644 --- a/lib/libm/common_source/cosh.3 +++ b/lib/libm/common_source/cosh.3 @@ -62,11 +62,11 @@ is set to .Xr atan 3 , .Xr atan2 3 , .Xr cos 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , .Xr tan 3 , -.Xr tanh 3 , -.Xr math 3 , +.Xr tanh 3 .Sh STANDARDS The .Fn cosh diff --git a/lib/libm/common_source/exp.3 b/lib/libm/common_source/exp.3 index 1bdf06088529..be7677ca168c 100644 --- a/lib/libm/common_source/exp.3 +++ b/lib/libm/common_source/exp.3 @@ -260,8 +260,8 @@ then \*(Na**0 = 1 too because x**0 = 1 for all finite and infinite x, i.e., independently of x. .El .Sh SEE ALSO -.Xr math 3 , -.Xr infnan 3 +.Xr infnan 3 , +.Xr math 3 .Sh HISTORY A .Fn exp , diff --git a/lib/libm/common_source/fabs.3 b/lib/libm/common_source/fabs.3 index c03bd2cdef5e..82704f189d6c 100644 --- a/lib/libm/common_source/fabs.3 +++ b/lib/libm/common_source/fabs.3 @@ -56,9 +56,9 @@ function returns the absolute value of .Xr abs 3 , .Xr ceil 3 , .Xr floor 3 , -.Xr rint 3 , .Xr ieee 3 , -.Xr math 3 . +.Xr math 3 , +.Xr rint 3 .Sh STANDARDS The .Fn fabs diff --git a/lib/libm/common_source/floor.3 b/lib/libm/common_source/floor.3 index 5dbe1c8f7874..2aed79d569ba 100644 --- a/lib/libm/common_source/floor.3 +++ b/lib/libm/common_source/floor.3 @@ -53,11 +53,11 @@ function returns the largest integral value expressed as a double. .Sh SEE ALSO .Xr abs 3 , -.Xr ieee 3 , .Xr fabs 3 , .Xr floor 3 , -.Xr rint 3 , -.Xr math 3 +.Xr ieee 3 , +.Xr math 3 , +.Xr rint 3 .Sh STANDARDS The .Fn floor diff --git a/lib/libm/common_source/ieee.3 b/lib/libm/common_source/ieee.3 index fd44617d82f8..432f7a0271bc 100644 --- a/lib/libm/common_source/ieee.3 +++ b/lib/libm/common_source/ieee.3 @@ -192,8 +192,8 @@ to .Dv ERANGE . .Sh SEE ALSO .Xr floor 3 , -.Xr math 3 , -.Xr infnan 3 +.Xr infnan 3 , +.Xr math 3 .Sh HISTORY The .Nm ieee diff --git a/lib/libm/common_source/infnan.3 b/lib/libm/common_source/infnan.3 index 6a94bf6b241b..6da38fd81ee8 100644 --- a/lib/libm/common_source/infnan.3 +++ b/lib/libm/common_source/infnan.3 @@ -158,8 +158,8 @@ int iarg ; } .Ed .Sh SEE ALSO -.Xr math 3 , .Xr intro 2 , +.Xr math 3 , .Xr signal 3 . .Pp .Dv ERANGE diff --git a/lib/libm/common_source/j0.3 b/lib/libm/common_source/j0.3 index cd4ac12905ce..3a7d3fba99d5 100644 --- a/lib/libm/common_source/j0.3 +++ b/lib/libm/common_source/j0.3 @@ -118,8 +118,8 @@ is set to .Er EDOM and a reserve operand fault is generated. .Sh SEE ALSO -.Xr math 3 , -.Xr infnan 3 +.Xr infnan 3 , +.Xr math 3 .Sh HISTORY A set of these functions function appeared in diff --git a/lib/libm/common_source/lgamma.3 b/lib/libm/common_source/lgamma.3 index 92f68ab2a9eb..92f4ba6602a2 100644 --- a/lib/libm/common_source/lgamma.3 +++ b/lib/libm/common_source/lgamma.3 @@ -105,8 +105,8 @@ For large non-integer negative values, .Fn gamma will underflow. .Sh SEE ALSO -.Xr math 3 , -.Xr infnan 3 +.Xr infnan 3 , +.Xr math 3 .Sh HISTORY The .Nm lgamma diff --git a/lib/libm/common_source/rint.3 b/lib/libm/common_source/rint.3 index 00cbf1cdbf55..868ebc970eb1 100644 --- a/lib/libm/common_source/rint.3 +++ b/lib/libm/common_source/rint.3 @@ -103,8 +103,8 @@ and the presence or absence of an integer overflow are hard to predict. .Sh SEE ALSO .Xr abs 3 , -.Xr fabs 3 , .Xr ceil 3 , +.Xr fabs 3 , .Xr floor 3 , .Xr ieee 3 , .Xr math 3 diff --git a/lib/libm/common_source/sin.3 b/lib/libm/common_source/sin.3 index c9bddd920e78..0eab4650ad41 100644 --- a/lib/libm/common_source/sin.3 +++ b/lib/libm/common_source/sin.3 @@ -61,10 +61,10 @@ function returns the sine value. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sinh 3 , .Xr tan 3 , -.Xr tanh 3 , -.Xr math 3 , +.Xr tanh 3 .Sh STANDARDS The .Fn sin diff --git a/lib/libm/common_source/sinh.3 b/lib/libm/common_source/sinh.3 index c8b1b7f53cc7..26a1403492c6 100644 --- a/lib/libm/common_source/sinh.3 +++ b/lib/libm/common_source/sinh.3 @@ -63,10 +63,10 @@ is set to .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sin 3 , .Xr tan 3 , -.Xr tanh 3 , -.Xr math 3 , +.Xr tanh 3 .Sh STANDARDS The .Fn sinh diff --git a/lib/libm/common_source/sqrt.3 b/lib/libm/common_source/sqrt.3 index a6d47d911a7e..9c8c22be787f 100644 --- a/lib/libm/common_source/sqrt.3 +++ b/lib/libm/common_source/sqrt.3 @@ -106,8 +106,8 @@ in the .Em P Ns lace carried. .Sh SEE ALSO -.Xr math 3 , -.Xr infnan 3 +.Xr infnan 3 , +.Xr math 3 .Sh STANDARDS The .Nm sqrt diff --git a/lib/libm/common_source/tan.3 b/lib/libm/common_source/tan.3 index 4e82ae32242a..b0d376772897 100644 --- a/lib/libm/common_source/tan.3 +++ b/lib/libm/common_source/tan.3 @@ -62,10 +62,10 @@ function returns the tangent value. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , -.Xr tanh 3 , -.Xr math 3 , +.Xr tanh 3 .Sh STANDARDS The .Fn tan diff --git a/lib/libm/common_source/tanh.3 b/lib/libm/common_source/tanh.3 index 7531728c61ca..2dc6bfcd1011 100644 --- a/lib/libm/common_source/tanh.3 +++ b/lib/libm/common_source/tanh.3 @@ -59,10 +59,10 @@ function returns the hyperbolic tangent value. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , -.Xr tan 3 , -.Xr math 3 , +.Xr tan 3 .Sh STANDARDS The .Fn tanh diff --git a/lib/libpthread/man/pthread_create.3 b/lib/libpthread/man/pthread_create.3 index 5ac24e8cdadd..aa8158802803 100644 --- a/lib/libpthread/man/pthread_create.3 +++ b/lib/libpthread/man/pthread_create.3 @@ -99,9 +99,9 @@ is invalid. .El .Pp .Sh SEE ALSO +.Xr fork 2 , .Xr pthread_exit 3 , -.Xr pthread_join 3 , -.Xr fork 2 +.Xr pthread_join 3 .Sh STANDARDS .Fn pthread_create is expected to conform to IEEE diff --git a/lib/libpthread/man/pthread_exit.3 b/lib/libpthread/man/pthread_exit.3 index 99b5b1f3f3f1..aad365e545dc 100644 --- a/lib/libpthread/man/pthread_exit.3 +++ b/lib/libpthread/man/pthread_exit.3 @@ -88,10 +88,10 @@ function cannot return to its caller. None. .Pp .Sh SEE ALSO -.Xr pthread_create 3 , -.Xr pthread_join 3 , +.Xr _exit 2 , .Xr exit 2 , -.Xr _exit 2 +.Xr pthread_create 3 , +.Xr pthread_join 3 .Sh STANDARDS .Fn pthread_exit is expected to conform to IEEE diff --git a/lib/libpthread/man/pthread_join.3 b/lib/libpthread/man/pthread_join.3 index 374b83261ba5..cabf319c08f4 100644 --- a/lib/libpthread/man/pthread_join.3 +++ b/lib/libpthread/man/pthread_join.3 @@ -91,8 +91,8 @@ specifies the calling thread. .El .Pp .Sh SEE ALSO -.Xr pthread_create 3 , -.Xr wait 2 +.Xr wait 2 , +.Xr pthread_create 3 .Sh STANDARDS .Fn pthread_join is expected to conform to IEEE diff --git a/lib/libpthread/man/pthread_key_create.3 b/lib/libpthread/man/pthread_key_create.3 index 1bcf9e04c22e..25165cec9f53 100644 --- a/lib/libpthread/man/pthread_key_create.3 +++ b/lib/libpthread/man/pthread_key_create.3 @@ -89,8 +89,8 @@ Insufficient memory exists to create the key. .Pp .Sh SEE ALSO .Xr pthread_getspecific 3 , -.Xr pthread_setspecific 3 , -.Xr pthread_key_delete 3 +.Xr pthread_key_delete 3 , +.Xr pthread_setspecific 3 .Sh STANDARDS .Fn pthread_key_create is expected to conform to IEEE diff --git a/lib/libpthread/man/pthread_key_delete.3 b/lib/libpthread/man/pthread_key_delete.3 index 732c562ff3a3..badfa8c7b761 100644 --- a/lib/libpthread/man/pthread_key_delete.3 +++ b/lib/libpthread/man/pthread_key_delete.3 @@ -82,8 +82,8 @@ value is invalid. .El .Pp .Sh SEE ALSO -.Xr pthread_key_create 3 , .Xr pthread_getspecific 3 , +.Xr pthread_key_create 3 , .Xr pthread_setspecific 3 .Sh STANDARDS .Fn pthread_key_delete diff --git a/lib/libpthread/man/pthread_setspecific.3 b/lib/libpthread/man/pthread_setspecific.3 index 05b947f6875b..838b5875a093 100644 --- a/lib/libpthread/man/pthread_setspecific.3 +++ b/lib/libpthread/man/pthread_setspecific.3 @@ -81,9 +81,9 @@ value is invalid. .El .Pp .Sh SEE ALSO +.Xr pthread_getspecific 3 , .Xr pthread_key_create 3 , -.Xr pthread_key_delete 3 , -.Xr pthread_getspecific 3 +.Xr pthread_key_delete 3 .Sh STANDARDS .Fn pthread_setspecific is expected to conform to IEEE diff --git a/lib/libscsi/scsi.3 b/lib/libscsi/scsi.3 index 33e24e42d543..d57c28e0369b 100644 --- a/lib/libscsi/scsi.3 +++ b/lib/libscsi/scsi.3 @@ -326,8 +326,8 @@ The function .Fn scsireq_enter returns the result of the ioctl call. .Sh SEE ALSO -.Xr scsi 8 , -.Xr scsi 4 +.Xr scsi 4 , +.Xr scsi 8 .Sh BUGS This only works completely for the 1542C. The host adapter code that sets up the residual amount of data transfer has to be added diff --git a/lib/libskey/skey.3 b/lib/libskey/skey.3 index 66321016dce5..af8dc6a0c31e 100644 --- a/lib/libskey/skey.3 +++ b/lib/libskey/skey.3 @@ -145,7 +145,7 @@ skey.access configuration file which this function uses. See above. .Sh SEE ALSO .Xr skey 1 , -.Xr skey.access 5 , +.Xr skey.access 5 .Sh BUGS No advisory locking is done on the s/key database to guard against simultaneous access from multiple processes. diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5 index 7f4ac548fc7a..3ffbe7d57027 100644 --- a/lib/libutil/login.conf.5 +++ b/lib/libutil/login.conf.5 @@ -356,7 +356,7 @@ and .Em host.exempt lists. .Sh SEE ALSO -.Xr login 1 +.Xr login 1 , .Xr getcap 3 , .Xr getttyent 3 , .Xr login_cap 3 , diff --git a/lib/libutil/login_auth.3 b/lib/libutil/login_auth.3 index 2b8b9ff15501..79ad941ccb50 100644 --- a/lib/libutil/login_auth.3 +++ b/lib/libutil/login_auth.3 @@ -64,8 +64,8 @@ by .Sh RETURN VALUES .Sh SEE ALSO +.Xr getcap 3 , .Xr login_cap 3 , .Xr login_class 3 , .Xr login.conf 5 , -.Xr termcap 5 , -.Xr getcap 3 +.Xr termcap 5 diff --git a/lib/libutil/login_cap.3 b/lib/libutil/login_cap.3 index ea7b90f5dc24..b9401898e2aa 100644 --- a/lib/libutil/login_cap.3 +++ b/lib/libutil/login_cap.3 @@ -372,7 +372,7 @@ logins, significantly reducing the risk of password discovery by "snooping" network packets. .El .Sh SEE ALSO +.Xr getcap 3 , .Xr login_class 3 , .Xr login.conf 5 , -.Xr termcap 5 , -.Xr getcap 3 +.Xr termcap 5 diff --git a/lib/libutil/login_class.3 b/lib/libutil/login_class.3 index 2ee50ebbfbc7..bb8db655458f 100644 --- a/lib/libutil/login_class.3 +++ b/lib/libutil/login_class.3 @@ -177,11 +177,11 @@ or resources, a message is reported to .Xr syslog 3 , with LOG_ERR priority and directed to the currently active facility. .Sh SEE ALSO +.Xr setgid 2 , .Xr setlogin 2 , .Xr setuid 2 , -.Xr setgid 2 , +.Xr getcap 3 , .Xr initgroups 3 , .Xr login_cap 3 , .Xr login.conf 5 , -.Xr termcap 5 , -.Xr getcap 3 +.Xr termcap 5 diff --git a/lib/libutil/login_times.3 b/lib/libutil/login_times.3 index e426142e1eeb..e9839cd5ff6a 100644 --- a/lib/libutil/login_times.3 +++ b/lib/libutil/login_times.3 @@ -148,8 +148,8 @@ by the login_time_t passed as the first parameter. returns the index of the first time period found in which the given time falls, or -1 if none of them apply. .Sh SEE ALSO -.Xr login.conf 5 , +.Xr getcap 3 , .Xr login_cap 3 , .Xr login_class 3 , -.Xr termcap 5 , -.Xr getcap 3 +.Xr login.conf 5 , +.Xr termcap 5 diff --git a/lib/msun/man/acos.3 b/lib/msun/man/acos.3 index b39f551a05ce..f5a8c32c8ddf 100644 --- a/lib/msun/man/acos.3 +++ b/lib/msun/man/acos.3 @@ -79,16 +79,16 @@ to .Dv EDOM and a reserved operand fault is generated. .Sh SEE ALSO -.Xr sin 3 , -.Xr cos 3 , -.Xr tan 3 , .Xr asin 3 , .Xr atan 3 , .Xr atan2 3 , -.Xr sinh 3 , +.Xr cos 3 , .Xr cosh 3 , -.Xr tanh 3 , -.Xr math 3 +.Xr math 3 , +.Xr sin 3 , +.Xr sinh 3 , +.Xr tan 3 , +.Xr tanh 3 .Sh STANDARDS The .Fn acos diff --git a/lib/msun/man/asin.3 b/lib/msun/man/asin.3 index 4acdd59e5994..4e01a4945ef4 100644 --- a/lib/msun/man/asin.3 +++ b/lib/msun/man/asin.3 @@ -86,11 +86,11 @@ a reserved operand fault generated. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , .Xr tan 3 , -.Xr tanh 3 , -.Xr math 3 +.Xr tanh 3 .Sh STANDARDS The .Fn asin diff --git a/lib/msun/man/atan.3 b/lib/msun/man/atan.3 index e719f48dd79d..c506f8797e3a 100644 --- a/lib/msun/man/atan.3 +++ b/lib/msun/man/atan.3 @@ -70,11 +70,11 @@ radians. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , .Xr tan 3 , -.Xr tanh 3 , -.Xr math 3 +.Xr tanh 3 .Sh STANDARDS The .Fn atan diff --git a/lib/msun/man/ceil.3 b/lib/msun/man/ceil.3 index 418f409f2185..940929a95af8 100644 --- a/lib/msun/man/ceil.3 +++ b/lib/msun/man/ceil.3 @@ -59,8 +59,8 @@ greater than or equal to .Xr fabs 3 , .Xr floor 3 , .Xr ieee 3 , -.Xr rint 3 , -.Xr math 3 +.Xr math 3 , +.Xr rint 3 .Sh STANDARDS The .Fn ceil diff --git a/lib/msun/man/cos.3 b/lib/msun/man/cos.3 index 35439d2b9023..b3877b549327 100644 --- a/lib/msun/man/cos.3 +++ b/lib/msun/man/cos.3 @@ -64,16 +64,16 @@ and the .Fn cosf functions return the cosine value. .Sh SEE ALSO -.Xr sin 3 , -.Xr tan 3 , -.Xr asin 3 , .Xr acos 3 , +.Xr asin 3 , .Xr atan 3 , .Xr atan2 3 , -.Xr sinh 3 , .Xr cosh 3 , -.Xr tanh 3 , -.Xr math 3 +.Xr math 3 , +.Xr sin 3 , +.Xr sinh 3 , +.Xr tan 3 , +.Xr tanh 3 .Sh STANDARDS The .Fn cos diff --git a/lib/msun/man/cosh.3 b/lib/msun/man/cosh.3 index 9b496e263bb5..06c0453fbaa8 100644 --- a/lib/msun/man/cosh.3 +++ b/lib/msun/man/cosh.3 @@ -70,11 +70,11 @@ is set to .Xr atan 3 , .Xr atan2 3 , .Xr cos 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , .Xr tan 3 , -.Xr tanh 3 , -.Xr math 3 +.Xr tanh 3 .Sh STANDARDS The .Fn cosh diff --git a/lib/msun/man/fabs.3 b/lib/msun/man/fabs.3 index 16dd822b6518..513fef3efd91 100644 --- a/lib/msun/man/fabs.3 +++ b/lib/msun/man/fabs.3 @@ -64,9 +64,9 @@ functions return the absolute value of .Xr abs 3 , .Xr ceil 3 , .Xr floor 3 , -.Xr rint 3 , .Xr ieee 3 , -.Xr math 3 +.Xr math 3 , +.Xr rint 3 .Sh STANDARDS The .Fn fabs diff --git a/lib/msun/man/floor.3 b/lib/msun/man/floor.3 index ed62792aaa3a..60fbd58b8ea5 100644 --- a/lib/msun/man/floor.3 +++ b/lib/msun/man/floor.3 @@ -59,8 +59,8 @@ less than or equal to .Xr ceil 3 , .Xr fabs 3 , .Xr ieee 3 , -.Xr rint 3 , -.Xr math 3 +.Xr math 3 , +.Xr rint 3 .Sh STANDARDS The .Fn floor diff --git a/lib/msun/man/rint.3 b/lib/msun/man/rint.3 index 46da18fb6cec..2d2c5117c4e0 100644 --- a/lib/msun/man/rint.3 +++ b/lib/msun/man/rint.3 @@ -56,8 +56,8 @@ precision number) nearest to according to the prevailing rounding mode. .Sh SEE ALSO .Xr abs 3 , -.Xr fabs 3 , .Xr ceil 3 , +.Xr fabs 3 , .Xr floor 3 , .Xr ieee 3 , .Xr math 3 diff --git a/lib/msun/man/sin.3 b/lib/msun/man/sin.3 index fbe8681e5beb..2f1fbb452042 100644 --- a/lib/msun/man/sin.3 +++ b/lib/msun/man/sin.3 @@ -69,10 +69,10 @@ functions return the sine value. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sinh 3 , .Xr tan 3 , -.Xr tanh 3 , -.Xr math 3 +.Xr tanh 3 .Sh STANDARDS The .Fn sin diff --git a/lib/msun/man/sinh.3 b/lib/msun/man/sinh.3 index 21261f5a858a..a48dbaead0b2 100644 --- a/lib/msun/man/sinh.3 +++ b/lib/msun/man/sinh.3 @@ -71,10 +71,10 @@ is set to .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sin 3 , .Xr tan 3 , -.Xr tanh 3 , -.Xr math 3 +.Xr tanh 3 .Sh STANDARDS The .Fn sinh diff --git a/lib/msun/man/tan.3 b/lib/msun/man/tan.3 index d33b1c6ad9ed..3942a387d486 100644 --- a/lib/msun/man/tan.3 +++ b/lib/msun/man/tan.3 @@ -68,10 +68,10 @@ function returns the tangent value. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , -.Xr tanh 3 , -.Xr math 3 +.Xr tanh 3 .Sh STANDARDS The .Fn tan diff --git a/lib/msun/man/tanh.3 b/lib/msun/man/tanh.3 index cdd7df2469fe..7ed21fc88591 100644 --- a/lib/msun/man/tanh.3 +++ b/lib/msun/man/tanh.3 @@ -67,10 +67,10 @@ functions return the hyperbolic tangent value. .Xr atan2 3 , .Xr cos 3 , .Xr cosh 3 , +.Xr math 3 , .Xr sin 3 , .Xr sinh 3 , -.Xr tan 3 , -.Xr math 3 +.Xr tan 3 .Sh STANDARDS The .Fn tanh diff --git a/share/man/man3/pthread_create.3 b/share/man/man3/pthread_create.3 index 5ac24e8cdadd..aa8158802803 100644 --- a/share/man/man3/pthread_create.3 +++ b/share/man/man3/pthread_create.3 @@ -99,9 +99,9 @@ is invalid. .El .Pp .Sh SEE ALSO +.Xr fork 2 , .Xr pthread_exit 3 , -.Xr pthread_join 3 , -.Xr fork 2 +.Xr pthread_join 3 .Sh STANDARDS .Fn pthread_create is expected to conform to IEEE diff --git a/share/man/man3/pthread_exit.3 b/share/man/man3/pthread_exit.3 index 99b5b1f3f3f1..aad365e545dc 100644 --- a/share/man/man3/pthread_exit.3 +++ b/share/man/man3/pthread_exit.3 @@ -88,10 +88,10 @@ function cannot return to its caller. None. .Pp .Sh SEE ALSO -.Xr pthread_create 3 , -.Xr pthread_join 3 , +.Xr _exit 2 , .Xr exit 2 , -.Xr _exit 2 +.Xr pthread_create 3 , +.Xr pthread_join 3 .Sh STANDARDS .Fn pthread_exit is expected to conform to IEEE diff --git a/share/man/man3/pthread_join.3 b/share/man/man3/pthread_join.3 index 374b83261ba5..cabf319c08f4 100644 --- a/share/man/man3/pthread_join.3 +++ b/share/man/man3/pthread_join.3 @@ -91,8 +91,8 @@ specifies the calling thread. .El .Pp .Sh SEE ALSO -.Xr pthread_create 3 , -.Xr wait 2 +.Xr wait 2 , +.Xr pthread_create 3 .Sh STANDARDS .Fn pthread_join is expected to conform to IEEE diff --git a/share/man/man3/pthread_key_create.3 b/share/man/man3/pthread_key_create.3 index 1bcf9e04c22e..25165cec9f53 100644 --- a/share/man/man3/pthread_key_create.3 +++ b/share/man/man3/pthread_key_create.3 @@ -89,8 +89,8 @@ Insufficient memory exists to create the key. .Pp .Sh SEE ALSO .Xr pthread_getspecific 3 , -.Xr pthread_setspecific 3 , -.Xr pthread_key_delete 3 +.Xr pthread_key_delete 3 , +.Xr pthread_setspecific 3 .Sh STANDARDS .Fn pthread_key_create is expected to conform to IEEE diff --git a/share/man/man3/pthread_key_delete.3 b/share/man/man3/pthread_key_delete.3 index 732c562ff3a3..badfa8c7b761 100644 --- a/share/man/man3/pthread_key_delete.3 +++ b/share/man/man3/pthread_key_delete.3 @@ -82,8 +82,8 @@ value is invalid. .El .Pp .Sh SEE ALSO -.Xr pthread_key_create 3 , .Xr pthread_getspecific 3 , +.Xr pthread_key_create 3 , .Xr pthread_setspecific 3 .Sh STANDARDS .Fn pthread_key_delete diff --git a/share/man/man3/pthread_setspecific.3 b/share/man/man3/pthread_setspecific.3 index 05b947f6875b..838b5875a093 100644 --- a/share/man/man3/pthread_setspecific.3 +++ b/share/man/man3/pthread_setspecific.3 @@ -81,9 +81,9 @@ value is invalid. .El .Pp .Sh SEE ALSO +.Xr pthread_getspecific 3 , .Xr pthread_key_create 3 , -.Xr pthread_key_delete 3 , -.Xr pthread_getspecific 3 +.Xr pthread_key_delete 3 .Sh STANDARDS .Fn pthread_setspecific is expected to conform to IEEE