/*++ /* NAME /* argv_split 3 /* SUMMARY /* string array utilities /* SYNOPSIS /* #include <argv.h> /* /* ARGV *argv_split(string, delim) /* const char *string; /* const char *delim; /* /* ARGV *argv_split_count(string, delim, count) /* const char *string; /* const char *delim; /* ssize_t count; /* /* ARGV *argv_split_append(argv, string, delim) /* ARGV *argv; /* const char *string; /* const char *delim; /* DESCRIPTION /* argv_split() breaks up \fIstring\fR into tokens according /* to the delimiters specified in \fIdelim\fR. The result is /* a null-terminated string array. /* /* argv_split_count() is like argv_split() 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_split_append() performs the same operation as argv_split(), /* but appends the result to an existing string array. /* SEE ALSO /* mystrtok(), 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.