mirror of https://github.com/mkerrisk/man-pages
Add section numbers to xrefs
This commit is contained in:
parent
b2ad03aad1
commit
91fe9d5cd7
|
@ -22,7 +22,7 @@ fputws \- write a wide-character string to a FILE stream
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The \fBfputws\fP() function is the wide-character equivalent of
|
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
|
It writes the wide-character string starting at \fIws\fP, up to but
|
||||||
not including the terminating L'\\0' character, to \fIstream\fP.
|
not including the terminating L'\\0' character, to \fIstream\fP.
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -118,7 +118,7 @@ after the call, it should be set to zero before the call.
|
||||||
.LP
|
.LP
|
||||||
The return value may point to static area, and may be overwritten
|
The return value may point to static area, and may be overwritten
|
||||||
by subsequent calls to
|
by subsequent calls to
|
||||||
.BR getgrent (),
|
.BR getgrent (3),
|
||||||
.BR getgrgid (),
|
.BR getgrgid (),
|
||||||
or
|
or
|
||||||
.BR getgrnam ().
|
.BR getgrnam ().
|
||||||
|
|
10
man3/glob.3
10
man3/glob.3
|
@ -153,10 +153,10 @@ a pointer to the path which failed, and
|
||||||
the value of
|
the value of
|
||||||
.I errno
|
.I errno
|
||||||
as returned from one of the calls to
|
as returned from one of the calls to
|
||||||
.BR opendir (),
|
.BR opendir (3),
|
||||||
.BR readdir (),
|
.BR readdir (3),
|
||||||
or
|
or
|
||||||
.BR stat ().
|
.BR stat (2).
|
||||||
If
|
If
|
||||||
.I errfunc
|
.I errfunc
|
||||||
returns non-zero, or if
|
returns non-zero, or if
|
||||||
|
@ -225,9 +225,9 @@ POSIX.2, POSIX.1-2001.
|
||||||
The
|
The
|
||||||
.BR glob ()
|
.BR glob ()
|
||||||
function may fail due to failure of underlying function calls, such as
|
function may fail due to failure of underlying function calls, such as
|
||||||
.BR malloc ()
|
.BR malloc (3)
|
||||||
or
|
or
|
||||||
.BR opendir ().
|
.BR opendir (3).
|
||||||
These will store their error code in
|
These will store their error code in
|
||||||
.IR errno .
|
.IR errno .
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
|
|
|
@ -66,5 +66,5 @@ C99
|
||||||
The behaviour of \fBmbstowcs\fP() depends on the LC_CTYPE category of the
|
The behaviour of \fBmbstowcs\fP() depends on the LC_CTYPE category of the
|
||||||
current locale.
|
current locale.
|
||||||
.PP
|
.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.
|
functionality.
|
||||||
|
|
|
@ -73,5 +73,5 @@ The behaviour of \fBmbtowc\fP() depends on the LC_CTYPE category of the
|
||||||
current locale.
|
current locale.
|
||||||
.PP
|
.PP
|
||||||
This function is not multi-thread safe.
|
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.
|
a better interface to the same functionality.
|
||||||
|
|
|
@ -111,7 +111,7 @@ function returns \-1 if
|
||||||
.\" is not associated with a ``popen()ed'' command, if
|
.\" is not associated with a ``popen()ed'' command, if
|
||||||
.\".I stream
|
.\".I stream
|
||||||
.\" already ``pclose()d'', or if
|
.\" already ``pclose()d'', or if
|
||||||
.BR wait4 ()
|
.BR wait4 (2)
|
||||||
returns an error, or some other error is detected.
|
returns an error, or some other error is detected.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
The
|
The
|
||||||
|
|
|
@ -104,7 +104,7 @@ C89, C99
|
||||||
It is not advisable to mix calls to output functions from the
|
It is not advisable to mix calls to output functions from the
|
||||||
.B stdio
|
.B stdio
|
||||||
library with low-level calls to
|
library with low-level calls to
|
||||||
.BR write ()
|
.BR write (2)
|
||||||
for the file descriptor associated with the same output stream; the results
|
for the file descriptor associated with the same output stream; the results
|
||||||
will be undefined and very probably not what you want.
|
will be undefined and very probably not what you want.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|
|
@ -24,7 +24,7 @@ The \fBwcscasecmp\fP() function is the wide-character equivalent of the
|
||||||
\fBstrcasecmp\fP(3) function.
|
\fBstrcasecmp\fP(3) function.
|
||||||
It compares the wide-character string pointed to
|
It compares the wide-character string pointed to
|
||||||
by \fIs1\fP and the wide-character string pointed to by \fIs2\fP, ignoring
|
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"
|
.SH "RETURN VALUE"
|
||||||
The \fBwcscasecmp\fP() function returns zero if the wide-character strings at
|
The \fBwcscasecmp\fP() function returns zero if the wide-character strings at
|
||||||
\fIs1\fP and \fIs2\fP are equal except for case distinctions.
|
\fIs1\fP and \fIs2\fP are equal except for case distinctions.
|
||||||
|
|
|
@ -26,7 +26,7 @@ It compares the wide-character string pointed to
|
||||||
by \fIs1\fP and the wide-character string
|
by \fIs1\fP and the wide-character string
|
||||||
pointed to by \fIs2\fP, but at most
|
pointed to by \fIs2\fP, but at most
|
||||||
\fIn\fP wide characters from each string, ignoring case differences
|
\fIn\fP wide characters from each string, ignoring case differences
|
||||||
(\fBtowupper\fP(), \fBtowlower\fP()).
|
(\fBtowupper\fP(3), \fBtowlower\fP(3)).
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
The \fBwcsncasecmp\fP() function returns zero
|
The \fBwcsncasecmp\fP() function returns zero
|
||||||
if the wide-character strings at
|
if the wide-character strings at
|
||||||
|
|
|
@ -66,5 +66,5 @@ C99.
|
||||||
The behaviour of \fBwcstombs\fP() depends on the LC_CTYPE category of the
|
The behaviour of \fBwcstombs\fP() depends on the LC_CTYPE category of the
|
||||||
current locale.
|
current locale.
|
||||||
.PP
|
.PP
|
||||||
The function \fBwcsrtombs\fP() provides a thread safe interface to the same
|
The function \fBwcsrtombs\fP(3) provides a thread safe interface to
|
||||||
functionality.
|
the same functionality.
|
||||||
|
|
|
@ -64,5 +64,5 @@ The behaviour of \fBwctomb\fP() depends on the LC_CTYPE category of the
|
||||||
current locale.
|
current locale.
|
||||||
.PP
|
.PP
|
||||||
This function is not multi-thread safe.
|
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.
|
a better interface to the same functionality.
|
||||||
|
|
|
@ -70,7 +70,7 @@ The output consists of wide characters, not bytes.
|
||||||
.TP
|
.TP
|
||||||
.B \(bu
|
.B \(bu
|
||||||
\fBswprintf\fP() and \fBvswprintf\fP() take a \fImaxlen\fP argument,
|
\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)
|
(\fBsnprintf\fP(3) and \fBvsnprintf\fP(3)
|
||||||
take a \fImaxlen\fP argument, but these functions do not return \-1 upon
|
take a \fImaxlen\fP argument, but these functions do not return \-1 upon
|
||||||
buffer overflow on Linux.)
|
buffer overflow on Linux.)
|
||||||
|
|
Loading…
Reference in New Issue