/*++ /* NAME /* argv_splitq 3 /* SUMMARY /* string array utilities /* SYNOPSIS /* #include <argv.h> /* /* ARGV *argv_splitq(string, delim, parens) /* const char *string; /* const char *delim; /* const char *parens; /* /* ARGV *argv_splitq_count(string, delim, parens, count) /* const char *string; /* const char *delim; /* const char *parens; /* ssize_t count; /* /* ARGV *argv_splitq_append(argv, string, delim, parens) /* ARGV *argv; /* const char *string; /* const char *delim; /* const char *parens; /* DESCRIPTION /* argv_splitq() breaks up \fIstring\fR into tokens according /* to the delimiters specified in \fIdelim\fR, while avoiding /* splitting text between matching parentheses. The result is /* a null-terminated string array. /* /* argv_splitq_count() is like argv_splitq() but stops splitting /* input after at most \fIcount\fR -1 times and leaves the /* remainder, if any, in the last array element. It is an error /* to specify a count < 1. /* /* argv_splitq_append() performs the same operation as argv_splitq(), /* but appends the result to an existing string array. /* SEE ALSO /* mystrtokq(), safe string splitter. /* DIAGNOSTICS /* Fatal errors: memory allocation problem. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.