convert a string into all lowercase */
| 87 | |
| 88 | /* convert a string into all lowercase */ |
| 89 | char * |
| 90 | lcase(char *s) |
| 91 | { |
| 92 | char *p; |
| 93 | |
| 94 | for (p = s; *p; p++) |
| 95 | if ('A' <= *p && *p <= 'Z') |
| 96 | *p |= 040; |
| 97 | return s; |
| 98 | } |
| 99 | |
| 100 | /* convert a string into all uppercase */ |
| 101 | char * |
no outgoing calls
no test coverage detected