ref: e02e1188e472c7e2f40fa84e839631cc54f505a0 dir: /sys/src/ape/lib/ap/gen/toupper.c/
#include <ctype.h> toupper(int c) { if(c < 'a' || c > 'z') return c; return (c-'a'+'A'); } tolower(int c) { if(c < 'A' || c > 'Z') return c; return (c-'A'+'a'); }