summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-12 01:02:19 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-12 01:02:19 +0000
commit91fe9d5cd759053bb027e0f5b896073cbd311fd9 (patch)
treec95b1a8ea83d0dd6d5ec252f288b18d4cae176b2
parentb2ad03aad12bcabbe854e558fbbc519287454f7d (diff)
Add section numbers to xrefs
-rw-r--r--man3/fputws.32
-rw-r--r--man3/getgrnam.32
-rw-r--r--man3/glob.310
-rw-r--r--man3/mbstowcs.32
-rw-r--r--man3/mbtowc.32
-rw-r--r--man3/popen.32
-rw-r--r--man3/puts.32
-rw-r--r--man3/wcscasecmp.32
-rw-r--r--man3/wcsncasecmp.32
-rw-r--r--man3/wcstombs.34
-rw-r--r--man3/wctomb.32
-rw-r--r--man3/wprintf.32
12 files changed, 17 insertions, 17 deletions
diff --git a/man3/fputws.3 b/man3/fputws.3
index 2fcfc798..91782619 100644
--- a/man3/fputws.3
+++ b/man3/fputws.3
@@ -22,7 +22,7 @@ fputws \- write a wide-character string to a FILE stream
.fi
.SH DESCRIPTION
The \fBfputws\fP() function is the wide-character equivalent of
-the \fBfputs\fP() function.
+the \fBfputs\fP(3) function.
It writes the wide-character string starting at \fIws\fP, up to but
not including the terminating L'\\0' character, to \fIstream\fP.
.PP
diff --git a/man3/getgrnam.3 b/man3/getgrnam.3
index 6dadb155..e0e8faa3 100644
--- a/man3/getgrnam.3
+++ b/man3/getgrnam.3
@@ -118,7 +118,7 @@ after the call, it should be set to zero before the call.
.LP
The return value may point to static area, and may be overwritten
by subsequent calls to
-.BR getgrent (),
+.BR getgrent (3),
.BR getgrgid (),
or
.BR getgrnam ().
diff --git a/man3/glob.3 b/man3/glob.3
index 24c03fca..1fb0c312 100644
--- a/man3/glob.3
+++ b/man3/glob.3
@@ -153,10 +153,10 @@ a pointer to the path which failed, and
the value of
.I errno
as returned from one of the calls to
-.BR opendir (),
-.BR readdir (),
+.BR opendir (3),
+.BR readdir (3),
or
-.BR stat ().
+.BR stat (2).
If
.I errfunc
returns non-zero, or if
@@ -225,9 +225,9 @@ POSIX.2, POSIX.1-2001.
The
.BR glob ()
function may fail due to failure of underlying function calls, such as
-.BR malloc ()
+.BR malloc (3)
or
-.BR opendir ().
+.BR opendir (3).
These will store their error code in
.IR errno .
.SH NOTES
diff --git a/man3/mbstowcs.3 b/man3/mbstowcs.3
index 76e271ca..5e996fe6 100644
--- a/man3/mbstowcs.3
+++ b/man3/mbstowcs.3
@@ -66,5 +66,5 @@ C99
The behaviour of \fBmbstowcs\fP() depends on the LC_CTYPE category of the
current locale.
.PP
-The function \fBmbsrtowcs\fP() provides a better interface to the same
+The function \fBmbsrtowcs\fP(3) provides a better interface to the same
functionality.
diff --git a/man3/mbtowc.3 b/man3/mbtowc.3
index 2d5c188a..837edab2 100644
--- a/man3/mbtowc.3
+++ b/man3/mbtowc.3
@@ -73,5 +73,5 @@ The behaviour of \fBmbtowc\fP() depends on the LC_CTYPE category of the
current locale.
.PP
This function is not multi-thread safe.
-The function \fBmbrtowc\fP() provides
+The function \fBmbrtowc\fP(3) provides
a better interface to the same functionality.
diff --git a/man3/popen.3 b/man3/popen.3
index 115e2296..5ebd7ac0 100644
--- a/man3/popen.3
+++ b/man3/popen.3
@@ -111,7 +111,7 @@ function returns \-1 if
.\" is not associated with a ``popen()ed'' command, if
.\".I stream
.\" already ``pclose()d'', or if
-.BR wait4 ()
+.BR wait4 (2)
returns an error, or some other error is detected.
.SH ERRORS
The
diff --git a/man3/puts.3 b/man3/puts.3
index 8182daeb..8a673262 100644
--- a/man3/puts.3
+++ b/man3/puts.3
@@ -104,7 +104,7 @@ C89, C99
It is not advisable to mix calls to output functions from the
.B stdio
library with low-level calls to
-.BR write ()
+.BR write (2)
for the file descriptor associated with the same output stream; the results
will be undefined and very probably not what you want.
.SH "SEE ALSO"
diff --git a/man3/wcscasecmp.3 b/man3/wcscasecmp.3
index 745e5128..ec32073f 100644
--- a/man3/wcscasecmp.3
+++ b/man3/wcscasecmp.3
@@ -24,7 +24,7 @@ The \fBwcscasecmp\fP() function is the wide-character equivalent of the
\fBstrcasecmp\fP(3) function.
It compares the wide-character string pointed to
by \fIs1\fP and the wide-character string pointed to by \fIs2\fP, ignoring
-case differences (\fBtowupper\fP(), \fBtowlower\fP()).
+case differences (\fBtowupper\fP(3), \fBtowlower\fP(3)).
.SH "RETURN VALUE"
The \fBwcscasecmp\fP() function returns zero if the wide-character strings at
\fIs1\fP and \fIs2\fP are equal except for case distinctions.
diff --git a/man3/wcsncasecmp.3 b/man3/wcsncasecmp.3
index 8141c9d9..4a4ad608 100644
--- a/man3/wcsncasecmp.3
+++ b/man3/wcsncasecmp.3
@@ -26,7 +26,7 @@ It compares the wide-character string pointed to
by \fIs1\fP and the wide-character string
pointed to by \fIs2\fP, but at most
\fIn\fP wide characters from each string, ignoring case differences
-(\fBtowupper\fP(), \fBtowlower\fP()).
+(\fBtowupper\fP(3), \fBtowlower\fP(3)).
.SH "RETURN VALUE"
The \fBwcsncasecmp\fP() function returns zero
if the wide-character strings at
diff --git a/man3/wcstombs.3 b/man3/wcstombs.3
index e2ece052..2e2e286a 100644
--- a/man3/wcstombs.3
+++ b/man3/wcstombs.3
@@ -66,5 +66,5 @@ C99.
The behaviour of \fBwcstombs\fP() depends on the LC_CTYPE category of the
current locale.
.PP
-The function \fBwcsrtombs\fP() provides a thread safe interface to the same
-functionality.
+The function \fBwcsrtombs\fP(3) provides a thread safe interface to
+the same functionality.
diff --git a/man3/wctomb.3 b/man3/wctomb.3
index 6f55ba48..0d81366c 100644
--- a/man3/wctomb.3
+++ b/man3/wctomb.3
@@ -64,5 +64,5 @@ The behaviour of \fBwctomb\fP() depends on the LC_CTYPE category of the
current locale.
.PP
This function is not multi-thread safe.
-The function \fBwcrtomb\fP() provides
+The function \fBwcrtomb\fP(3) provides
a better interface to the same functionality.
diff --git a/man3/wprintf.3 b/man3/wprintf.3
index eee2f510..7ee99dbe 100644
--- a/man3/wprintf.3
+++ b/man3/wprintf.3
@@ -70,7 +70,7 @@ The output consists of wide characters, not bytes.
.TP
.B \(bu
\fBswprintf\fP() and \fBvswprintf\fP() take a \fImaxlen\fP argument,
-\fBsprintf\fP(3) and \fBvsprintf\fP()3 do not.
+\fBsprintf\fP(3) and \fBvsprintf\fP(3) do not.
(\fBsnprintf\fP(3) and \fBvsnprintf\fP(3)
take a \fImaxlen\fP argument, but these functions do not return \-1 upon
buffer overflow on Linux.)