aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/btowc.34
-rw-r--r--man3/btree.34
-rw-r--r--man3/daemon.36
-rw-r--r--man3/dbopen.316
-rw-r--r--man3/des_crypt.313
-rw-r--r--man3/err.312
-rw-r--r--man3/exec.314
-rw-r--r--man3/fts.314
-rw-r--r--man3/fwide.36
-rw-r--r--man3/getloadavg.38
-rw-r--r--man3/getpass.34
-rw-r--r--man3/getrpcent.38
-rw-r--r--man3/hash.34
-rw-r--r--man3/inet_ntop.34
-rw-r--r--man3/inet_pton.34
-rw-r--r--man3/iswalnum.36
-rw-r--r--man3/iswalpha.36
-rw-r--r--man3/iswblank.36
-rw-r--r--man3/iswcntrl.36
-rw-r--r--man3/iswctype.310
-rw-r--r--man3/iswdigit.36
-rw-r--r--man3/iswgraph.36
-rw-r--r--man3/iswlower.38
-rw-r--r--man3/iswprint.36
-rw-r--r--man3/iswpunct.36
-rw-r--r--man3/iswspace.36
-rw-r--r--man3/iswupper.38
-rw-r--r--man3/iswxdigit.36
-rw-r--r--man3/malloc.36
-rw-r--r--man3/mblen.34
-rw-r--r--man3/mbrlen.34
-rw-r--r--man3/mbrtowc.34
-rw-r--r--man3/mbsinit.36
-rw-r--r--man3/mbsnrtowcs.36
-rw-r--r--man3/mbsrtowcs.38
-rw-r--r--man3/mbstowcs.34
-rw-r--r--man3/mbtowc.38
-rw-r--r--man3/recno.34
-rw-r--r--man3/rexec.36
-rw-r--r--man3/scanf.314
-rw-r--r--man3/stdin.312
-rw-r--r--man3/towctrans.38
-rw-r--r--man3/towlower.38
-rw-r--r--man3/towupper.38
-rw-r--r--man3/ungetwc.34
-rw-r--r--man3/wcrtomb.34
-rw-r--r--man3/wcscasecmp.36
-rw-r--r--man3/wcsncasecmp.36
-rw-r--r--man3/wcsnrtombs.36
-rw-r--r--man3/wcsrtombs.38
-rw-r--r--man3/wcstombs.34
-rw-r--r--man3/wcswidth.36
-rw-r--r--man3/wctob.34
-rw-r--r--man3/wctomb.38
-rw-r--r--man3/wctrans.34
-rw-r--r--man3/wctype.34
-rw-r--r--man3/wprintf.314
57 files changed, 197 insertions, 198 deletions
diff --git a/man3/btowc.3 b/man3/btowc.3
index 9d3043f38f..8ec72ed0b4 100644
--- a/man3/btowc.3
+++ b/man3/btowc.3
@@ -40,8 +40,6 @@ If \fIc\fP is EOF or not a valid multibyte sequence of length 1,
it returns WEOF.
.SH "CONFORMING TO"
C99, POSIX.1-2001.
-.SH "SEE ALSO"
-.BR mbtowc (3)
.SH NOTES
The behaviour of
.BR btowc ()
@@ -55,3 +53,5 @@ sequences.
Use the function
.BR mbtowc ()
instead.
+.SH "SEE ALSO"
+.BR mbtowc (3)
diff --git a/man3/btree.3 b/man3/btree.3
index e3fb2f8300..c9b18b142a 100644
--- a/man3/btree.3
+++ b/man3/btree.3
@@ -214,6 +214,8 @@ access method routines may fail and set
.I errno
for any of the errors specified for the library routine
.BR dbopen (3).
+.SH BUGS
+Only big and little endian byte order is supported.
.SH "SEE ALSO"
.BR dbopen (3),
.BR hash (3),
@@ -229,5 +231,3 @@ Bayer and Unterauer, ACM Transactions on Database Systems, Vol. 2, 1
.sp
.IR "The Art of Computer Programming Vol. 3: Sorting and Searching" ,
D.E. Knuth, 1968, pp 471-480.
-.SH BUGS
-Only big and little endian byte order is supported.
diff --git a/man3/daemon.3 b/man3/daemon.3
index a7260ae0e6..a51fe5aa13 100644
--- a/man3/daemon.3
+++ b/man3/daemon.3
@@ -72,9 +72,6 @@ to any of the errors specified for the
.BR fork (2)
and
.BR setsid (2).
-.SH "SEE ALSO"
-.BR fork (2),
-.BR setsid (2)
.SH NOTES
The glibc implementation can also return \-1 when
.I /dev/null
@@ -89,3 +86,6 @@ A similar function appears on the BSDs.
The
.BR daemon ()
function first appeared in 4.4BSD.
+.SH "SEE ALSO"
+.BR fork (2),
+.BR setsid (2)
diff --git a/man3/dbopen.3 b/man3/dbopen.3
index 577d165511..56c2932969 100644
--- a/man3/dbopen.3
+++ b/man3/dbopen.3
@@ -452,14 +452,6 @@ routines may fail and set
.I errno
for any of the errors specified for the library routine
.BR fsync (2).
-.SH "SEE ALSO"
-.BR btree (3),
-.BR hash (3),
-.BR mpool (3),
-.BR recno (3)
-.sp
-.IR "LIBTP: Portable, Modular Transactions for UNIX" ,
-Margo Seltzer, Michael Olson, USENIX proceedings, Winter 1992.
.SH BUGS
The typedef DBT is a mnemonic for ``data base thang'', and was used
because no-one could think of a reasonable name that wasn't already used.
@@ -469,3 +461,11 @@ future version of the interface.
.PP
None of the access methods provide any form of concurrent access,
locking, or transactions.
+.SH "SEE ALSO"
+.BR btree (3),
+.BR hash (3),
+.BR mpool (3),
+.BR recno (3)
+.sp
+.IR "LIBTP: Portable, Modular Transactions for UNIX" ,
+Margo Seltzer, Michael Olson, USENIX proceedings, Winter 1992.
diff --git a/man3/des_crypt.3 b/man3/des_crypt.3
index 3df7048faf..9674ff2ee5 100644
--- a/man3/des_crypt.3
+++ b/man3/des_crypt.3
@@ -101,12 +101,6 @@ is the 8-byte initialization
vector for the chaining.
It is updated to the next initialization
vector upon return.
-.SH "SEE ALSO"
-.BR des (1),
-.BR crypt (3)
-.\" added, aeb
-and
-.BR xcrypt (3)
.SH RETURN VALUE
.PD 0
.TP 20
@@ -138,4 +132,9 @@ glibc 2.1 and later.
.SH "CONFORMING TO"
4.3BSD.
Not in POSIX.1-2001.
-
+.SH "SEE ALSO"
+.BR des (1),
+.BR crypt (3)
+.\" added, aeb
+and
+.BR xcrypt (3)
diff --git a/man3/err.3 b/man3/err.3
index 5d39630611..87c390556d 100644
--- a/man3/err.3
+++ b/man3/err.3
@@ -142,12 +142,6 @@ if ((fd = open(raw_device, O_RDONLY, 0)) == \-1)
if ((fd = open(block_device, O_RDONLY, 0)) == \-1)
err(1, "%s", block_device);
.Ed
-.Sh SEE ALSO
-.Xr error 3 ,
-.Xr exit 3 ,
-.Xr printf 3 ,
-.Xr perror 3 ,
-.Xr strerror 3
.Sh "CONFORMING TO"
These functions are non-standard BSD extensions.
.Sh HISTORY
@@ -157,3 +151,9 @@ and
.Fn warn
functions first appeared in
.Bx 4.4 .
+.Sh SEE ALSO
+.Xr error 3 ,
+.Xr exit 3 ,
+.Xr printf 3 ,
+.Xr perror 3 ,
+.Xr strerror 3
diff --git a/man3/exec.3 b/man3/exec.3
index 933d798eb1..76b541ef95 100644
--- a/man3/exec.3
+++ b/man3/exec.3
@@ -168,13 +168,6 @@ All of these functions may fail and set
.I errno
for any of the errors specified for the library function
.BR execve (2).
-.SH "SEE ALSO"
-.BR sh (1),
-.BR execve (2),
-.BR fork (2),
-.BR ptrace (2),
-.BR fexecve (3),
-.BR environ (7)
.SH NOTES
On some other systems the default path (used when the environment
does not contain the variable \fBPATH\fR) has the current working
@@ -211,3 +204,10 @@ They now return if any error other than the ones
described above occurs.
.SH "CONFORMING TO"
POSIX.1-2001.
+.SH "SEE ALSO"
+.BR sh (1),
+.BR execve (2),
+.BR fork (2),
+.BR ptrace (2),
+.BR fexecve (3),
+.BR environ (7)
diff --git a/man3/fts.3 b/man3/fts.3
index f87767b9cf..395e9d73f2 100644
--- a/man3/fts.3
+++ b/man3/fts.3
@@ -742,17 +742,17 @@ as follows:
.It Bq Er EINVAL
The options were invalid.
.El
-.Sh SEE ALSO
-.Xr find 1 ,
-.Xr chdir 2 ,
-.Xr stat 2 ,
-.Xr ftw 3 ,
-.Xr qsort 3
.Sh "CONFORMING TO"
4.4BSD. The
.Nm fts
utility is expected to be included in a future
.St -p1003.1-88
revision.
-.Sh AVAILABILITY
+.Sh VERSIONS
These functions are available in Linux since glibc2.
+.Sh SEE ALSO
+.Xr find 1 ,
+.Xr chdir 2 ,
+.Xr stat 2 ,
+.Xr ftw 3 ,
+.Xr qsort 3
diff --git a/man3/fwide.3 b/man3/fwide.3
index 82d2efad22..65357d8bbc 100644
--- a/man3/fwide.3
+++ b/man3/fwide.3
@@ -57,9 +57,6 @@ A return value
A return value of zero means undecided.
.SH "CONFORMING TO"
C99, POSIX.1-2001.
-.SH "SEE ALSO"
-.BR fprintf (3),
-.BR fwprintf (3)
.SH NOTES
Wide-character output to a byte oriented stream can be performed through the
.BR fprintf (3)
@@ -69,3 +66,6 @@ Char oriented output to a wide-character oriented stream can be performed
through the
.BR fwprintf (3)
function with the %c and %s directives.
+.SH "SEE ALSO"
+.BR fprintf (3),
+.BR fwprintf (3)
diff --git a/man3/getloadavg.3 b/man3/getloadavg.3
index b2e652ad6e..d6f79c9e52 100644
--- a/man3/getloadavg.3
+++ b/man3/getloadavg.3
@@ -52,10 +52,6 @@ over the last 1, 5, and 15 minutes, respectively.
.Sh DIAGNOSTICS
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 proc 5,
-.Xr feature_test_macros 7
.Sh HISTORY
The
.Fn getloadavg
@@ -66,3 +62,7 @@ This function is available in glibc since version 2.2.
Not in POSIX.1-2001.
Present on the BSDs and Solaris.
.\" mdoc seems to have a bug - there must be no newline here
+.Sh SEE ALSO
+.Xr uptime 1 ,
+.Xr proc 5,
+.Xr feature_test_macros 7
diff --git a/man3/getpass.3 b/man3/getpass.3
index 6fe17eae67..5572d35869 100644
--- a/man3/getpass.3
+++ b/man3/getpass.3
@@ -94,8 +94,6 @@ Libc4 and libc5 have never supported PASS_MAX or _SC_PASS_MAX.
Glibc2 accepts _SC_PASS_MAX and returns BUFSIZ (e.g., 8192).
.SH FILES
.I /dev/tty
-.SH "SEE ALSO"
-.BR crypt (3)
.SH HISTORY
A
.BR getpass ()
@@ -106,3 +104,5 @@ Removed in POSIX.1-2001.
.SH BUGS
The calling process should zero the password as soon as possible to avoid
leaving the cleartext password visible in the process's address space.
+.SH "SEE ALSO"
+.BR crypt (3)
diff --git a/man3/getrpcent.3 b/man3/getrpcent.3
index afd7c480bf..208825ede6 100644
--- a/man3/getrpcent.3
+++ b/man3/getrpcent.3
@@ -96,10 +96,6 @@ program number is found, or until end-of-file is encountered.
.SH "CONFORMING TO"
Not in POSIX.1-2001.
Present on the BSDs, Solaris, and many other systems.
-.SH "SEE ALSO"
-.BR rpc (5),
-.BR rpcinfo (8),
-.BR ypserv (8)
.SH RETURN VALUE
.LP
A
@@ -113,3 +109,7 @@ All information
is contained in a static area
so it must be copied if it is
to be saved.
+.SH "SEE ALSO"
+.BR rpc (5),
+.BR rpcinfo (8),
+.BR ypserv (8)
diff --git a/man3/hash.3 b/man3/hash.3
index 71e54b9a0c..b84ede0cc4 100644
--- a/man3/hash.3
+++ b/man3/hash.3
@@ -144,6 +144,8 @@ access method routines may fail and set
.I errno
for any of the errors specified for the library routine
.BR dbopen (3).
+.SH BUGS
+Only big and little endian byte order is supported.
.SH "SEE ALSO"
.BR btree (3),
.BR dbopen (3),
@@ -155,5 +157,3 @@ Per-Ake Larson, Communications of the ACM, April 1988.
.sp
.IR "A New Hash Package for UNIX" ,
Margo Seltzer, USENIX Proceedings, Winter 1991.
-.SH BUGS
-Only big and little endian byte order is supported.
diff --git a/man3/inet_ntop.3 b/man3/inet_ntop.3
index 89ed1ed490..5d09160d48 100644
--- a/man3/inet_ntop.3
+++ b/man3/inet_ntop.3
@@ -104,8 +104,8 @@ is of type
Many systems follow RFC\ 2553.
Glibc 2.0 and 2.1 have size_t, but 2.2 has socklen_t.
.\" 2.1.3: size_t, 2.1.91: socklen_t
-.SH "SEE ALSO"
-.BR inet_pton (3)
.SH BUGS
.B AF_INET6
converts IPv6-mapped IPv4 addresses into an IPv6 format.
+.SH "SEE ALSO"
+.BR inet_pton (3)
diff --git a/man3/inet_pton.3 b/man3/inet_pton.3
index cb4277e184..d9a34ecc2f 100644
--- a/man3/inet_pton.3
+++ b/man3/inet_pton.3
@@ -98,11 +98,11 @@ A positive value is returned if the network address was successfully
converted.
.SH "CONFORMING TO"
POSIX.1-2001.
-.SH "SEE ALSO"
-.BR inet_ntop (3)
.SH BUGS
.B AF_INET6
does not recognize IPv4 addresses.
An explicit IPv6-mapped IPv4 address must be supplied in
.I src
instead.
+.SH "SEE ALSO"
+.BR inet_ntop (3)
diff --git a/man3/iswalnum.3 b/man3/iswalnum.3
index 2ba4946b00..b52257de76 100644
--- a/man3/iswalnum.3
+++ b/man3/iswalnum.3
@@ -59,11 +59,11 @@ belonging to the wide-character class "alnum".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR isalnum (3),
-.BR iswctype (3)
.SH NOTES
The behaviour of
.BR iswalnum ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR isalnum (3),
+.BR iswctype (3)
diff --git a/man3/iswalpha.3 b/man3/iswalpha.3
index 4e1f2d99ee..4e586102cb 100644
--- a/man3/iswalpha.3
+++ b/man3/iswalpha.3
@@ -63,11 +63,11 @@ belonging to the wide-character class "alpha".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR isalpha (3),
-.BR iswctype (3)
.SH NOTES
The behaviour of
.BR iswalpha ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR isalpha (3),
+.BR iswctype (3)
diff --git a/man3/iswblank.3 b/man3/iswblank.3
index bd71a152f2..cef88eb169 100644
--- a/man3/iswblank.3
+++ b/man3/iswblank.3
@@ -50,11 +50,11 @@ belonging to the wide-character class "blank".
Otherwise it returns zero.
.SH "CONFORMING TO"
POSIX.1-2001.
-.SH "SEE ALSO"
-.BR isblank (3),
-.BR iswctype (3)
.SH NOTES
The behaviour of
.BR iswblank ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR isblank (3),
+.BR iswctype (3)
diff --git a/man3/iswcntrl.3 b/man3/iswcntrl.3
index e9ee07b6da..fa51720933 100644
--- a/man3/iswcntrl.3
+++ b/man3/iswcntrl.3
@@ -44,11 +44,11 @@ wide character belonging to the wide-character class "cntrl".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR iscntrl (3),
-.BR iswctype (3)
.SH NOTES
The behaviour of
.BR iswcntrl ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR iscntrl (3),
+.BR iswctype (3)
diff --git a/man3/iswctype.3 b/man3/iswctype.3
index 8509c0dc30..a7dc00e291 100644
--- a/man3/iswctype.3
+++ b/man3/iswctype.3
@@ -42,6 +42,11 @@ property.
Otherwise it returns 0.
.SH "CONFORMING TO"
C99.
+.SH NOTES
+The behaviour of
+.BR iswctype ()
+depends on the LC_CTYPE category of the
+current locale.
.SH "SEE ALSO"
.BR iswalnum (3),
.BR iswalpha (3),
@@ -56,8 +61,3 @@ C99.
.BR iswupper (3),
.BR iswxdigit (3),
.BR wctype (3)
-.SH NOTES
-The behaviour of
-.BR iswctype ()
-depends on the LC_CTYPE category of the
-current locale.
diff --git a/man3/iswdigit.3 b/man3/iswdigit.3
index 12f71dfd1b..8f123134d5 100644
--- a/man3/iswdigit.3
+++ b/man3/iswdigit.3
@@ -62,11 +62,11 @@ belonging to the wide-character class "digit".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR isdigit (3),
-.BR iswctype (3)
.SH NOTES
The behaviour of
.BR iswdigit ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR isdigit (3),
+.BR iswctype (3)
diff --git a/man3/iswgraph.3 b/man3/iswgraph.3
index 3731942326..0439b3591d 100644
--- a/man3/iswgraph.3
+++ b/man3/iswgraph.3
@@ -55,11 +55,11 @@ belonging to the wide-character class "graph".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR isgraph (3),
-.BR iswctype (3)
.SH NOTES
The behaviour of
.BR iswgraph ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR isgraph (3),
+.BR iswctype (3)
diff --git a/man3/iswlower.3 b/man3/iswlower.3
index 12bde7921f..e15b0088ec 100644
--- a/man3/iswlower.3
+++ b/man3/iswlower.3
@@ -67,10 +67,6 @@ belonging to the wide-character class "lower".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR islower (3),
-.BR iswctype (3),
-.BR towlower (3)
.SH NOTES
The behaviour of
.BR iswlower ()
@@ -79,3 +75,7 @@ current locale.
.PP
This function is not very appropriate for dealing with Unicode characters,
because Unicode knows about three cases: upper, lower and title case.
+.SH "SEE ALSO"
+.BR islower (3),
+.BR iswctype (3),
+.BR towlower (3)
diff --git a/man3/iswprint.3 b/man3/iswprint.3
index 3433f35daa..726176e7ed 100644
--- a/man3/iswprint.3
+++ b/man3/iswprint.3
@@ -41,11 +41,11 @@ wide character belonging to the wide-character class "print".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR isprint (3),
-.BR iswctype (3)
.SH NOTES
The behaviour of
.BR iswprint ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR isprint (3),
+.BR iswctype (3)
diff --git a/man3/iswpunct.3 b/man3/iswpunct.3
index f988106039..0c1671c54d 100644
--- a/man3/iswpunct.3
+++ b/man3/iswpunct.3
@@ -53,9 +53,6 @@ belonging to the wide-character class "punct".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR ispunct (3),
-.BR iswctype (3)
.SH NOTES
The behaviour of
.BR iswpunct ()
@@ -65,3 +62,6 @@ current locale.
This function's name is a misnomer when dealing with Unicode characters,
because the wide-character class "punct" contains both punctuation characters
and symbol (math, currency, etc.) characters.
+.SH "SEE ALSO"
+.BR ispunct (3),
+.BR iswctype (3)
diff --git a/man3/iswspace.3 b/man3/iswspace.3
index 2247a1e972..104d74b020 100644
--- a/man3/iswspace.3
+++ b/man3/iswspace.3
@@ -48,11 +48,11 @@ belonging to the wide-character class "space".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR isspace (3),
-.BR iswctype (3)
.SH NOTES
The behaviour of
.BR iswspace ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR isspace (3),
+.BR iswctype (3)
diff --git a/man3/iswupper.3 b/man3/iswupper.3
index 2d4b6981b7..179920e55c 100644
--- a/man3/iswupper.3
+++ b/man3/iswupper.3
@@ -59,10 +59,6 @@ belonging to the wide-character class "upper".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR isupper (3),
-.BR iswctype (3),
-.BR towupper (3)
.SH NOTES
The behaviour of
.BR iswupper ()
@@ -71,3 +67,7 @@ current locale.
.PP
This function is not very appropriate for dealing with Unicode characters,
because Unicode knows about three cases: upper, lower and title case.
+.SH "SEE ALSO"
+.BR isupper (3),
+.BR iswctype (3),
+.BR towupper (3)
diff --git a/man3/iswxdigit.3 b/man3/iswxdigit.3
index 7930d932ff..35d4e1b9a9 100644
--- a/man3/iswxdigit.3
+++ b/man3/iswxdigit.3
@@ -53,11 +53,11 @@ belonging to the wide-character class "xdigit".
Otherwise it returns zero.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR iswctype (3),
-.BR isxdigit (3)
.SH NOTES
The behaviour of
.BR iswxdigit ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR iswctype (3),
+.BR isxdigit (3)
diff --git a/man3/malloc.3 b/man3/malloc.3
index 03c99f659c..c1b689d11f 100644
--- a/man3/malloc.3
+++ b/man3/malloc.3
@@ -122,9 +122,6 @@ If
fails the original block is left untouched; it is not freed or moved.
.SH "CONFORMING TO"
C89, C99.
-.SH "SEE ALSO"
-.BR brk (2),
-.BR posix_memalign (3)
.SH NOTES
The Unix98 standard requires
.BR malloc (),
@@ -194,3 +191,6 @@ See also the kernel Documentation directory, files
.I vm/overcommit-accounting
and
.IR sysctl/vm.txt .
+.SH "SEE ALSO"
+.BR brk (2),
+.BR posix_memalign (3)
diff --git a/man3/mblen.3 b/man3/mblen.3
index 1c8e1e5027..6f8d06fa82 100644
--- a/man3/mblen.3
+++ b/man3/mblen.3
@@ -65,8 +65,6 @@ invalid multibyte sequence was encountered or if it couldn't parse a complete
multibyte character.
.SH "CONFORMING TO"
C99
-.SH "SEE ALSO"
-.BR mbrlen (3)
.SH NOTES
The behaviour of
.BR mblen ()
@@ -77,3 +75,5 @@ The function
.BR mbrlen (3)
provides a better interface to the same
functionality.
+.SH "SEE ALSO"
+.BR mbrlen (3)
diff --git a/man3/mbrlen.3 b/man3/mbrlen.3
index 64c55a3446..be9d7fef1a 100644
--- a/man3/mbrlen.3
+++ b/man3/mbrlen.3
@@ -64,10 +64,10 @@ It returns (size_t)(\-2) if it couldn't parse a complete multibyte
character, meaning that \fIn\fP should be increased.
.SH "CONFORMING TO"
C99
-.SH "SEE ALSO"
-.BR mbrtowc (3)
.SH NOTES
The behaviour of
.BR mbrlen ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR mbrtowc (3)
diff --git a/man3/mbrtowc.3 b/man3/mbrtowc.3
index 1c1f1895e5..fcdb503ede 100644
--- a/man3/mbrtowc.3
+++ b/man3/mbrtowc.3
@@ -97,10 +97,10 @@ It returns (size_t)(\-2) if it couldn't parse a complete multibyte
character, meaning that \fIn\fP should be increased.
.SH "CONFORMING TO"
C99
-.SH "SEE ALSO"
-.BR mbsrtowcs (3)
.SH NOTES
The behaviour of
.BR mbrtowc ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR mbsrtowcs (3)
diff --git a/man3/mbsinit.3 b/man3/mbsinit.3
index c4d9ca0875..035450b35e 100644
--- a/man3/mbsinit.3
+++ b/man3/mbsinit.3
@@ -69,11 +69,11 @@ returns non-zero if \fI*ps\fP is an initial state, or if
Otherwise it returns 0.
.SH "CONFORMING TO"
C99
-.SH "SEE ALSO"
-.BR mbsrtowcs (3),
-.BR wcsrtombs (3)
.SH NOTES
The behaviour of
.BR mbsinit ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR mbsrtowcs (3),
+.BR wcsrtombs (3)
diff --git a/man3/mbsnrtowcs.3 b/man3/mbsnrtowcs.3
index f416fd55f9..347239d143 100644
--- a/man3/mbsnrtowcs.3
+++ b/man3/mbsnrtowcs.3
@@ -82,9 +82,6 @@ If an invalid multibyte sequence was
encountered, (size_t)(\-1) is returned, and \fIerrno\fP set to \fBEILSEQ\fP.
.SH "CONFORMING TO"
This function is a GNU extension.
-.SH "SEE ALSO"
-.BR iconv (3),
-.BR mbsrtowcs (3)
.SH NOTES
The behaviour of
.BR mbsnrtowcs ()
@@ -92,3 +89,6 @@ depends on the LC_CTYPE category of the
current locale.
.PP
Passing NULL as \fIps\fP is not multi-thread safe.
+.SH "SEE ALSO"
+.BR iconv (3),
+.BR mbsrtowcs (3)
diff --git a/man3/mbsrtowcs.3 b/man3/mbsrtowcs.3
index cff0066c9e..228c6f8e77 100644
--- a/man3/mbsrtowcs.3
+++ b/man3/mbsrtowcs.3
@@ -71,10 +71,6 @@ If an invalid multibyte sequence was
encountered, (size_t)(\-1) is returned, and \fIerrno\fP set to \fBEILSEQ\fP.
.SH "CONFORMING TO"
C99
-.SH "SEE ALSO"
-.BR iconv (3),
-.BR mbsnrtowcs (3),
-.BR mbstowcs (3)
.SH NOTES
The behaviour of
.BR mbsrtowcs ()
@@ -82,3 +78,7 @@ depends on the LC_CTYPE category of the
current locale.
.PP
Passing NULL as \fIps\fP is not multi-thread safe.
+.SH "SEE ALSO"
+.BR iconv (3),
+.BR mbsnrtowcs (3),
+.BR mbstowcs (3)
diff --git a/man3/mbstowcs.3 b/man3/mbstowcs.3
index 2a8569c551..30edd5ba24 100644
--- a/man3/mbstowcs.3
+++ b/man3/mbstowcs.3
@@ -64,8 +64,6 @@ If an invalid multibyte sequence was
encountered, (size_t)(\-1) is returned.
.SH "CONFORMING TO"
C99
-.SH "SEE ALSO"
-.BR mbsrtowcs (3)
.SH NOTES
The behaviour of
.BR mbstowcs ()
@@ -76,3 +74,5 @@ The function
.BR mbsrtowcs (3)
provides a better interface to the same
functionality.
+.SH "SEE ALSO"
+.BR mbsrtowcs (3)
diff --git a/man3/mbtowc.3 b/man3/mbtowc.3
index 1fd59bd579..bf27fff3e0 100644
--- a/man3/mbtowc.3
+++ b/man3/mbtowc.3
@@ -75,10 +75,6 @@ returns non-zero if the encoding
has non-trivial shift state, or zero if the encoding is stateless.
.SH "CONFORMING TO"
C99
-.SH "SEE ALSO"
-.BR MB_CUR_MAX (3),
-.BR mbrtowc (3),
-.BR mbstowcs (3)
.SH NOTES
The behaviour of
.BR mbtowc ()
@@ -90,3 +86,7 @@ The function
.BR mbrtowc (3)
provides
a better interface to the same functionality.
+.SH "SEE ALSO"
+.BR MB_CUR_MAX (3),
+.BR mbrtowc (3),
+.BR mbstowcs (3)
diff --git a/man3/recno.3 b/man3/recno.3
index 9c1a752c78..0e14452c0f 100644
--- a/man3/recno.3
+++ b/man3/recno.3
@@ -197,6 +197,8 @@ or the following:
[EINVAL]
An attempt was made to add a record to a fixed-length database that
was too large to fit.
+.SH BUGS
+Only big and little endian byte order is supported.
.SH "SEE ALSO"
.BR btree (3)
.BR dbopen (3),
@@ -206,5 +208,3 @@ was too large to fit.
.IR "Document Processing in a Relational Database System" ,
Michael Stonebraker, Heidi Stettner, Joseph Kalash, Antonin Guttman,
Nadene Lynn, Memorandum No. UCB/ERL M82/32, May 1982.
-.SH BUGS
-Only big and little endian byte order is supported.
diff --git a/man3/rexec.3 b/man3/rexec.3
index 2b5b57040e..b6f57920a7 100644
--- a/man3/rexec.3
+++ b/man3/rexec.3
@@ -118,9 +118,6 @@ command) will be made the same as the
and no
provision is made for sending arbitrary signals to the remote process,
although you may be able to get its attention by using out-of-band data.
-.Sh SEE ALSO
-.Xr rcmd 3 ,
-.Xr rexecd 8
.Sh "CONFORMING TO"
Not in POSIX.1-2001.
Present on the BSDs, Solaris, and many other systems.
@@ -137,3 +134,6 @@ The underlying service is considered a big security hole and therefore
not enabled on many sites, see
.Xr rexecd 8
for explanations.
+.Sh SEE ALSO
+.Xr rcmd 3 ,
+.Xr rexecd 8
diff --git a/man3/scanf.3 b/man3/scanf.3
index b8a236a64c..06ea1c1198 100644
--- a/man3/scanf.3
+++ b/man3/scanf.3
@@ -526,13 +526,6 @@ in which case the error indicator for the stream (see
is set, and
.I errno
is set indicate the error.
-.SH "SEE ALSO"
-.BR getc (3),
-.BR printf (3),
-.BR setlocale (3),
-.BR strtod (3),
-.BR strtol (3),
-.BR strtoul (3)
.SH "CONFORMING TO"
The functions
.BR fscanf (),
@@ -596,3 +589,10 @@ The usage of
is not the same as on 4.4BSD,
as it may be used in float conversions equivalently to
.BR L .
+.SH "SEE ALSO"
+.BR getc (3),
+.BR printf (3),
+.BR setlocale (3),
+.BR strtod (3),
+.BR strtol (3),
+.BR strtoul (3)
diff --git a/man3/stdin.3 b/man3/stdin.3
index e514993c07..377eff7a80 100644
--- a/man3/stdin.3
+++ b/man3/stdin.3
@@ -95,12 +95,6 @@ and
The standard streams are closed by a call to
.Xr exit 3
and by normal program termination.
-.Sh SEE ALSO
-.Xr sh 1 ,
-.Xr csh 1 ,
-.Xr open 2 ,
-.Xr fopen 3 ,
-.Xr stdio 3
.Sh CONSIDERATIONS
The stream
.Nm stderr
@@ -143,3 +137,9 @@ macros conform to
.St -ansiC ,
and this standard also stipulates that these three
streams shall be open at program startup.
+.Sh SEE ALSO
+.Xr sh 1 ,
+.Xr csh 1 ,
+.Xr open 2 ,
+.Xr fopen 3 ,
+.Xr stdio 3
diff --git a/man3/towctrans.3 b/man3/towctrans.3
index c5793a0d23..6e31941e94 100644
--- a/man3/towctrans.3
+++ b/man3/towctrans.3
@@ -38,12 +38,12 @@ function returns the translated wide character,
or WEOF if \fIwc\fP is WEOF.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR towlower (3),
-.BR towupper (3),
-.BR wctrans (3)
.SH NOTES
The behaviour of
.BR towctrans ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR towlower (3),
+.BR towupper (3),
+.BR wctrans (3)
diff --git a/man3/towlower.3 b/man3/towlower.3
index 1a8d23096d..de40028f2a 100644
--- a/man3/towlower.3
+++ b/man3/towlower.3
@@ -37,10 +37,6 @@ function returns the lowercase equivalent of \fIwc\fP,
or WEOF if \fIwc\fP is WEOF.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR iswlower (3),
-.BR towctrans (3),
-.BR towupper (3)
.SH NOTES
The behaviour of
.BR towlower ()
@@ -49,3 +45,7 @@ current locale.
.PP
This function is not very appropriate for dealing with Unicode characters,
because Unicode knows about three cases: upper, lower and title case.
+.SH "SEE ALSO"
+.BR iswlower (3),
+.BR towctrans (3),
+.BR towupper (3)
diff --git a/man3/towupper.3 b/man3/towupper.3
index 52fbb54d09..67ce46cf17 100644
--- a/man3/towupper.3
+++ b/man3/towupper.3
@@ -37,10 +37,6 @@ function returns the uppercase equivalent of \fIwc\fP,
or WEOF if \fIwc\fP is WEOF.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR iswupper (3),
-.BR towctrans (3),
-.BR towlower (3)
.SH NOTES
The behaviour of
.BR towupper ()
@@ -49,3 +45,7 @@ current locale.
.PP
This function is not very appropriate for dealing with Unicode characters,
because Unicode knows about three cases: upper, lower and title case.
+.SH "SEE ALSO"
+.BR iswupper (3),
+.BR towctrans (3),
+.BR towlower (3)
diff --git a/man3/ungetwc.3 b/man3/ungetwc.3
index fc2a39f54b..d33a232fa9 100644
--- a/man3/ungetwc.3
+++ b/man3/ungetwc.3
@@ -52,10 +52,10 @@ function returns \fIwc\fP when successful, or WEOF upon
failure.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR fgetwc (3)
.SH NOTES
The behaviour of
.BR ungetwc ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR fgetwc (3)
diff --git a/man3/wcrtomb.3 b/man3/wcrtomb.3
index 7c9a3025f1..49bf8f8f0c 100644
--- a/man3/wcrtomb.3
+++ b/man3/wcrtomb.3
@@ -70,8 +70,6 @@ represented as a multibyte sequence (according to the current locale),
(size_t)(\-1) is returned, and \fIerrno\fP set to \fBEILSEQ\fP.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR wcsrtombs (3)
.SH NOTES
The behaviour of
.BR wcrtomb ()
@@ -79,3 +77,5 @@ depends on the LC_CTYPE category of the
current locale.
.PP
Passing NULL as \fIps\fP is not multi-thread safe.
+.SH "SEE ALSO"
+.BR wcsrtombs (3)
diff --git a/man3/wcscasecmp.3 b/man3/wcscasecmp.3
index 550fcf0e8a..fb98f4023d 100644
--- a/man3/wcscasecmp.3
+++ b/man3/wcscasecmp.3
@@ -42,11 +42,11 @@ returns a negative integer if \fIs1\fP is smaller
than \fIs2\fP, ignoring case.
.SH "CONFORMING TO"
This function is a GNU extension.
-.SH "SEE ALSO"
-.BR strcasecmp (3),
-.BR wcscmp (3)
.SH NOTES
The behaviour of
.BR wcscasecmp ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR strcasecmp (3),
+.BR wcscmp (3)
diff --git a/man3/wcsncasecmp.3 b/man3/wcsncasecmp.3
index 061bf37fcd..e0d5b99bd8 100644
--- a/man3/wcsncasecmp.3
+++ b/man3/wcsncasecmp.3
@@ -45,11 +45,11 @@ It returns a negative integer
if truncated \fIs1\fP is smaller than truncated \fIs2\fP, ignoring case.
.SH "CONFORMING TO"
This function is a GNU extension.
-.SH "SEE ALSO"
-.BR strncasecmp (3),
-.BR wcsncmp (3)
.SH NOTES
The behaviour of
.BR wcsncasecmp ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR strncasecmp (3),
+.BR wcsncmp (3)
diff --git a/man3/wcsnrtombs.3 b/man3/wcsnrtombs.3
index 2cb5814c0c..c2aafc8688 100644
--- a/man3/wcsnrtombs.3
+++ b/man3/wcsnrtombs.3
@@ -90,9 +90,6 @@ could not be converted, (size_t)(\-1)
is returned, and \fIerrno\fP set to \fBEILSEQ\fP.
.SH "CONFORMING TO"
This function is a GNU extension.
-.SH "SEE ALSO"
-.BR iconv (3),
-.BR wcsrtombs (3)
.SH NOTES
The behaviour of
.BR wcsnrtombs ()
@@ -100,3 +97,6 @@ depends on the LC_CTYPE category of the
current locale.
.PP
Passing NULL as \fIps\fP is not multi-thread safe.
+.SH "SEE ALSO"
+.BR iconv (3),
+.BR wcsrtombs (3)
diff --git a/man3/wcsrtombs.3 b/man3/wcsrtombs.3
index 808656c0cf..d5f560ae4b 100644
--- a/man3/wcsrtombs.3
+++ b/man3/wcsrtombs.3
@@ -85,10 +85,6 @@ is returned, and
set to \fBEILSEQ\fP.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR iconv (3),
-.BR wcsnrtombs (3),
-.BR wcstombs (3)
.SH NOTES
The behaviour of
.BR wcsrtombs ()
@@ -96,3 +92,7 @@ depends on the LC_CTYPE category of the
current locale.
.PP
Passing NULL as \fIps\fP is not multi-thread safe.
+.SH "SEE ALSO"
+.BR iconv (3),
+.BR wcsnrtombs (3),
+.BR wcstombs (3)
diff --git a/man3/wcstombs.3 b/man3/wcstombs.3
index c4ab6d215b..d193d443e8 100644
--- a/man3/wcstombs.3
+++ b/man3/wcstombs.3
@@ -64,8 +64,6 @@ If a wide character was encountered which could not be
converted, (size_t)(\-1) is returned.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR wcsrtombs (3)
.SH NOTES
The behaviour of
.BR wcstombs ()
@@ -76,3 +74,5 @@ The function
.BR wcsrtombs (3)
provides a thread safe interface to
the same functionality.
+.SH "SEE ALSO"
+.BR wcsrtombs (3)
diff --git a/man3/wcswidth.3 b/man3/wcswidth.3
index 3b341db629..55d606556d 100644
--- a/man3/wcswidth.3
+++ b/man3/wcswidth.3
@@ -36,11 +36,11 @@ returns the number of column positions for the
wide-character string \fIs\fP, truncated to at most length \fIn\fP.
.SH "CONFORMING TO"
POSIX.1-2001.
-.SH "SEE ALSO"
-.BR iswprint (3),
-.BR wcwidth (3)
.SH NOTES
The behaviour of
.BR wcswidth ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR iswprint (3),
+.BR wcwidth (3)
diff --git a/man3/wctob.3 b/man3/wctob.3
index 63f623a6aa..4eb21a1fd3 100644
--- a/man3/wctob.3
+++ b/man3/wctob.3
@@ -41,8 +41,6 @@ function returns the single-byte representation of \fIc\fP,
if it exists, of EOF otherwise.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR wctomb (3)
.SH NOTES
The behaviour of
.BR wctob ()
@@ -55,3 +53,5 @@ distinguish single-byte and multi-byte characters.
Use the function
.BR wctomb (3)
instead.
+.SH "SEE ALSO"
+.BR wctomb (3)
diff --git a/man3/wctomb.3 b/man3/wctomb.3
index 3c90708d4a..c162ec724a 100644
--- a/man3/wctomb.3
+++ b/man3/wctomb.3
@@ -63,10 +63,6 @@ function returns non-zero if the
encoding has non-trivial shift state, or zero if the encoding is stateless.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR MB_CUR_MAX (3),
-.BR wcrtomb (3),
-.BR wcstombs (3)
.SH NOTES
The behaviour of
.BR wctomb ()
@@ -78,3 +74,7 @@ The function
.BR wcrtomb (3)
provides
a better interface to the same functionality.
+.SH "SEE ALSO"
+.BR MB_CUR_MAX (3),
+.BR wcrtomb (3),
+.BR wcstombs (3)
diff --git a/man3/wctrans.3 b/man3/wctrans.3
index c5cff01d0d..2838f9358d 100644
--- a/man3/wctrans.3
+++ b/man3/wctrans.3
@@ -50,10 +50,10 @@ is valid.
Otherwise it returns \fI(wctrans_t)0\fP.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR towctrans (3)
.SH NOTES
The behaviour of
.BR wctrans ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR towctrans (3)
diff --git a/man3/wctype.3 b/man3/wctype.3
index 0b57b6219b..50f35aa5ef 100644
--- a/man3/wctype.3
+++ b/man3/wctype.3
@@ -61,10 +61,10 @@ if the \fIname\fP is valid.
Otherwise it returns \fI(wctype_t)0\fP.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR iswctype (3)
.SH NOTES
The behaviour of
.BR wctype ()
depends on the LC_CTYPE category of the
current locale.
+.SH "SEE ALSO"
+.BR iswctype (3)
diff --git a/man3/wprintf.3 b/man3/wprintf.3
index abe4aaa360..132d222e37 100644
--- a/man3/wprintf.3
+++ b/man3/wprintf.3
@@ -169,13 +169,6 @@ and
They return \-1 when an error occurs.
.SH "CONFORMING TO"
C99.
-.SH "SEE ALSO"
-.BR fprintf (3),
-.BR fputwc (3),
-.BR fwide (3),
-.BR printf (3),
-.BR snprintf (3),
-.BR wscanf (3)
.SH NOTES
The behaviour of
.BR wprintf ()
@@ -204,3 +197,10 @@ or
.BR iconv (3),
followed by
.BR mbstowcs (3)).
+.SH "SEE ALSO"
+.BR fprintf (3),
+.BR fputwc (3),
+.BR fwide (3),
+.BR printf (3),
+.BR snprintf (3),
+.BR wscanf (3)