minix/lib/ansi/toupper.c
2009-11-09 10:26:00 +00:00

5 lines
84 B
C

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