Bioplib
Protein Structure C Library
|
Go to the source code of this file.
Functions | |
STRINGLIST * | blStoreString (STRINGLIST *StringList, char *string) |
This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.
The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.
The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.
Definition in file StoreString.c.
STRINGLIST* blStoreString | ( | STRINGLIST * | StringList, |
char * | string | ||
) |
[in] | *StringList | The current linked list or NULL if nothing yet allocated |
[in] | *string | The string to store |
Stores strings (of any length) in a linked list of type STRINGLIST. Return a pointer to the start of the linked list which is used on the first call to access the newly allocated memory.
If allocation fails, memory allocated so far is freed and the routine returns NULL.
Definition at line 131 of file StoreString.c.