#include <ctype.h> int toupper(int c);
This function returns c, converting it to upper case if it is lower case. See section tolower.
The upper case letter.
ANSI, POSIX
for (i=0; buf[i]; i++) buf[i] = toupper(buf[i]);
Go to the first, previous, next, last section, table of contents.