Parent Topic: STRINGLI

AddStringToList()

The AddStringToList() function is used to add a single string to an existing StringList. The StringList is realloced bigger, and a copy of the passed string is made for the StringList. This function is somewhat expensive for long StringLists.

char    **AddStringToList( target_list, new_string );
char    **target_list;
           The StringList to which the new_string will
           be added.  A new string list will be created
           when target_list == NULL.
char    *new_string;
           The new string to duplicate and add to the StringList.
The modified target_list is returned.

See Also: DestroyStringList(), AddStringList()


Parent Topic: STRINGLI
About PCI Help Gateway