int AddStringQuotes (char **string);
Adds double quotes around a string that you dynamically allocate previously.
This function reallocates the string so that it is large enough to contain the additional characters.
Output | ||
Name | Type | Description |
string | char ** | Pass the address of the pointer to the string around which you want to place double quotes. The function reallocates the string so that it is large enough to contain the additional characters. |
Name | Type | Description |
status | integer | Returns FALSE if the function cannot reallocate the string because of insufficient memory. Returns TRUE otherwise. |