projects
/
uffi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2a6f10cd34c06329d97a3023d39a35a20c2be21e
[uffi.git]
/
c-test-lib.c
1
#include <ctype.h>
2
3
int
4
cstring-count-upper (char* psz)
5
{
6
int count = 0;
7
while (*psz) {
8
if (isupper (*psz))
9
++count;
10
++psz;
11
}
12
}
13
14
void
15
cstring-to-upper (char* psz)
16
{
17
while (*psz) {
18
*psz = toupper (*psz);
19
++psz;
20
}
21
}
22
23
24