|
NAMEstringlist , sl_init ,
sl_add , sl_free ,
sl_find —
stringlist manipulation functions
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <stringlist.h>
StringList *
int
void
char *
DESCRIPTIONThestringlist functions manipulate stringlists, which
are lists of strings that extend automatically if necessary.
The StringList structure has the following definition: typedef struct _stringlist { char **sl_str; size_t sl_max; size_t sl_cur; } StringList;
The following stringlist manipulation functions are available:
SEE ALSOfree(3), malloc(3)HISTORYThestringlist functions appeared in
FreeBSD 2.2.6 and NetBSD 1.3.
Visit the GSP FreeBSD Man Page Interface. |