/*++ /* NAME /* split_nameval 3 /* SUMMARY /* name-value splitter /* SYNOPSIS /* #include <split_nameval.h> /* /* const char *split_nameval(buf, name, value) /* char *buf; /* char **name; /* char **value; /* DESCRIPTION /* split_nameval() takes a logical line from readlline() and expects /* text of the form "name = value" or "name =". The buffer /* argument is broken up into name and value substrings. /* /* Arguments: /* .IP buf /* Result from readlline() or equivalent. The buffer is modified. /* .IP name /* Upon successful completion, this is set to the name /* substring. /* .IP value /* Upon successful completion, this is set to the value /* substring. /* FEATURES /* SEE ALSO /* dict(3) mid-level dictionary routines /* BUGS /* DIAGNOSTICS /* Fatal errors: out of memory. /* /* The result is a null pointer in case of success, a string /* describing the error otherwise: missing '=' after attribute /* name; missing attribute name. /* 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.