ref: 51b41f0dd44e558835176dc7a63e3b64d24ee79e
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');
}