]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libc/port/toupper.c
libregexp: improve the transition to next available thread, instruction, and generation
[plan9front.git] / sys / src / libc / port / toupper.c
1 #include        <ctype.h>
2
3 int
4 toupper(int c)
5 {
6
7         if(c < 'a' || c > 'z')
8                 return c;
9         return _toupper(c);
10 }
11
12 int
13 tolower(int c)
14 {
15
16         if(c < 'A' || c > 'Z')
17                 return c;
18         return _tolower(c);
19 }