15 char *out = (
char *)malloc(i + 1);
16 for(j = 0; j < i; j++)
17 out[j] = (isupper(in[j]) ? tolower(in[j]) : in[j]);
28 char *out = (
char *)malloc(i + 1);
29 for(j = 0; j < i; j++)
30 out[j] = (islower(in[j]) ? toupper(in[j]) : in[j]);
#define str_len(s)
Shorthand for counting '\0' terminating strings. See _len for more info.
char * string_to_upper(const char *in)
char * string_to_lower(const char *in)