ref: 4983adfa2cd403eda22d862917c2ff5ed35b48b3 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'); }