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
|
||||
.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
|
||||
|
|
|
@ -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 ().
|
||||
|
|
10
man3/glob.3
10
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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.)
|
||||
|
|
Loading…
Reference in New Issue