minix/lib/ansi/toupper.c
2005-04-21 14:53:53 +00:00

5 lines
84 B
C
Executable file

#include <ctype.h>
int toupper(int c) {
return islower(c) ? c - 'a' + 'A' : c ;
}