This commit is contained in:
Michael Kerrisk 2007-07-10 19:50:57 +00:00
parent 7a63e1d7be
commit f3fef7367d
8 changed files with 22 additions and 17 deletions

View File

@ -114,11 +114,13 @@ is set appropriately.
.SH "CONFORMING TO"
SVr4, 4.3BSD, POSIX.1-2001.
.SH NOTES
The number of clock ticks per second can be obtained using
The number of clock ticks per second can be obtained using:
.RS
sysconf(_SC_CLK_TCK);
.RE
In POSIX-1996 the symbol CLK_TCK (defined in
.PP
In POSIX.1-1996 the symbol \fBCLK_TCK\fP (defined in
.IR <time.h> )
is mentioned as obsolescent.
It is obsolete now.

View File

@ -25,7 +25,7 @@ If \fIwc\fP is a wide character, the
.BR towctrans ()
function
translates it according to the transliteration descriptor \fIdesc\fP.
If \fIwc\fP is WEOF, WEOF is returned.
If \fIwc\fP is \fBWEOF\fP, \fBWEOF\fP is returned.
.PP
\fIdesc\fP must be a transliteration descriptor returned by
the
@ -35,7 +35,7 @@ function.
The
.BR towctrans ()
function returns the translated wide character,
or WEOF if \fIwc\fP is WEOF.
or \fBWEOF\fP if \fIwc\fP is \fBWEOF\fP.
.SH "CONFORMING TO"
C99.
.SH NOTES

View File

@ -29,12 +29,12 @@ function.
If \fIwc\fP is a wide character, it is converted to
lowercase.
Characters which do not have case are returned unchanged.
If \fIwc\fP is WEOF, WEOF is returned.
If \fIwc\fP is \fBWEOF\fP, \fBWEOF\fP is returned.
.SH "RETURN VALUE"
The
.BR towlower ()
function returns the lowercase equivalent of \fIwc\fP,
or WEOF if \fIwc\fP is WEOF.
or \fBWEOF\fP if \fIwc\fP is \fBWEOF\fP.
.SH "CONFORMING TO"
C99.
.SH NOTES

View File

@ -29,12 +29,12 @@ function.
If \fIwc\fP is a wide character, it is converted to
uppercase.
Characters which do not have case are returned unchanged.
If \fIwc\fP is WEOF, WEOF is returned.
If \fIwc\fP is \fBWEOF\fP, \fBWEOF\fP is returned.
.SH "RETURN VALUE"
The
.BR towupper ()
function returns the uppercase equivalent of \fIwc\fP,
or WEOF if \fIwc\fP is WEOF.
or \fBWEOF\fP if \fIwc\fP is \fBWEOF\fP.
.SH "CONFORMING TO"
C99.
.SH NOTES

View File

@ -28,9 +28,9 @@ function is the wide-character equivalent of the
function.
It pushes back a wide character onto \fIstream\fP and returns it.
.PP
If \fIwc\fP is WEOF, it returns WEOF.
If \fIwc\fP is \fBWEOF\fP, it returns \fBWEOF\fP.
If \fIwc\fP is an invalid wide character,
it sets \fIerrno\fP to \fBEILSEQ\fP and returns WEOF.
it sets \fIerrno\fP to \fBEILSEQ\fP and returns \fBWEOF\fP.
.PP
If \fIwc\fP is a valid wide character, it is pushed back onto the stream
and thus becomes available for future wide-character read operations.
@ -48,7 +48,7 @@ level of push-back is guaranteed.
.SH "RETURN VALUE"
The
.BR ungetwc ()
function returns \fIwc\fP when successful, or WEOF upon
function returns \fIwc\fP when successful, or \fBWEOF\fP upon
failure.
.SH "CONFORMING TO"
C99.

View File

@ -38,7 +38,7 @@ multi-byte characters.
The
.BR wctob ()
function returns the single-byte representation of \fIc\fP,
if it exists, of EOF otherwise.
if it exists, of \fBEOF\fP otherwise.
.SH "CONFORMING TO"
C99.
.SH NOTES

View File

@ -185,12 +185,15 @@ one of the following five values is returned.
Illegal occurrence of newline or one of |, &, ;, <, >, (, ), {, }.
.TP
.B WRDE_BADVAL
An undefined shell variable was referenced, and the WRDE_UNDEF flag
An undefined shell variable was referenced, and the
.B WRDE_UNDEF
flag
told us to consider this an error.
.TP
.B WRDE_CMDSUB
Command substitution occurred, and the WRDE_NOCMD flag
told us to consider this an error.
Command substitution occurred, and the
.B WRDE_NOCMD
flag told us to consider this an error.
.TP
.B WRDE_NOSPACE
Out of memory.

View File

@ -56,8 +56,8 @@ Print version information on standard output, then exit successfully.
.B "\-\-"
Terminate option list.
.SH ENVIRONMENT
The variables LANG, LC_ALL, LC_CTYPE, and LC_MESSAGES have the
usual meaning.
The variables \fBLANG\fP, \fBLC_ALL\fP, \fBLC_CTYPE\fP,
and \fBLC_MESSAGES\fP have the usual meaning.
.SH "CONFORMING TO"
POSIX.2
.SH NOTES