libcfe  0.12.1
some useful C-functions
string_case_conversion.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char * string_to_lower (const char *in)
 
char * string_to_upper (const char *in)
 

Function Documentation

◆ string_to_lower()

char* string_to_lower ( const char *  in)

Turn all the letters in a string to its lowercase equivalent, the result is returned as a new allocated string.

Parameters
[in]inPointer to the input string.
Returns
Pointer to the string containing only lowercase letters.

Definition at line 10 of file string_case_conversion.c.

◆ string_to_upper()

char* string_to_upper ( const char *  in)

Turn all the letters in a string to its uppercase equivalent, the result is returned as a new allocated string.

Parameters
[in]inPointer to the input string.
Returns
Pointer to the string containing only uppercase letters.

Definition at line 23 of file string_case_conversion.c.