String utility function prototypes.
More...
#include "string.h"
Go to the source code of this file.
String utility function prototypes.
char* duplicateString |
( |
const char * |
input | ) |
|
Copies a string.
- Parameters
-
[in] | input | The string to copy. |
- Returns
- A copy of
input
.
- Note
- The calling function gains ownership of the returned string and retains ownership of the
input
string.
char* lowercase |
( |
char * |
input | ) |
|
Converts a string to lowercase.
- Parameters
-
[in] | input | The string to change to lowercase. |
- Returns
- The lowercase format of
input
.
- Note
- The string is directly modified, not copied.
char* uppercase |
( |
char * |
input | ) |
|
Converts a string to uppercase.
- Parameters
-
[in] | input | The string to change to uppercase. |
- Returns
- The uppercase format of
input
.
- Note
- The string is directly modified, not copied.