AddStringQuotes
int AddStringQuotes (char **string);
Purpose
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.
Parameters
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. |
Return Value
Name | Type | Description |
status | int | Returns FALSE if the function cannot reallocate the string because of insufficient memory. Returns TRUE otherwise. |
Additional Information
Library: Programmer's Toolbox
Include file: toolbox\toolbox.h
LabWindows/CVI compatibility: LabWindows/CVI 6.0 and later