| 18 | #endif |
| 19 | |
| 20 | char *acl_lowercase(char *s) |
| 21 | { |
| 22 | char *cp = s; |
| 23 | |
| 24 | if (s == NULL) { |
| 25 | return NULL; |
| 26 | } |
| 27 | |
| 28 | while (*cp) { |
| 29 | *cp = (char) tolower(*cp); |
| 30 | cp++; |
| 31 | } |
| 32 | |
| 33 | return s; |
| 34 | } |
| 35 | |
| 36 | char *acl_lowercase2(char *s, size_t n) |
| 37 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…