minix/lib/libc/ansi/tolower.c

6 lines
84 B
C
Raw Normal View History

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