.TH toupper() "" "" "ctype Function (libc)"
.PC "Convert characters to upper case"
\fB#include <ctype.h>\fR
\fBint toupper(\fIc\^\fB) int \fIc\^\fB;\fR
.PP
\fBtoupper()\fR
converts the letter
.I c
to upper case and returns the converted character.
If
.I c
is not an lower-case character, that is,
any character for which \fBislower()\fR returns true,
.B toupper()
returns it unchanged.
.SH Example
For an example of this routine, see the entry for
.BR tolower() .
.SH "See Also"
.Xr "_toupper()," _5Ftouppe
.Xr "libc," libc
.Xr "tolower()" tolower
.R
.br
\*(AS, \(sc7.3.2.2
.br
\*(PX Standard, \(sc8.1
