minix/lib/ansi/toupper.c

6 lines
84 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include <ctype.h>
int toupper(int c) {
return islower(c) ? c - 'a' + 'A' : c ;
}