diff options
Diffstat (limited to 'man3/towupper.3')
| -rw-r--r-- | man3/towupper.3 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/man3/towupper.3 b/man3/towupper.3 index 2f571cf693..52fbb54d09 100644 --- a/man3/towupper.3 +++ b/man3/towupper.3 @@ -21,14 +21,19 @@ towupper \- convert a wide character to uppercase .BI "wint_t towupper(wint_t " wc ); .fi .SH DESCRIPTION -The \fBtowupper\fP() function is the wide-character equivalent of the -\fBtoupper\fP(3) function. +The +.BR towupper () +function is the wide-character equivalent of the +.BR toupper (3) +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. .SH "RETURN VALUE" -The \fBtowupper\fP() function returns the uppercase equivalent of \fIwc\fP, +The +.BR towupper () +function returns the uppercase equivalent of \fIwc\fP, or WEOF if \fIwc\fP is WEOF. .SH "CONFORMING TO" C99. @@ -37,7 +42,9 @@ C99. .BR towctrans (3), .BR towlower (3) .SH NOTES -The behaviour of \fBtowupper\fP() depends on the LC_CTYPE category of the +The behaviour of +.BR towupper () +depends on the LC_CTYPE category of the current locale. .PP This function is not very appropriate for dealing with Unicode characters, |
