ref: 03d870e0283299404b0eb46689d13f8538e83a2f 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'); }