| www.delorie.com/gnu/docs/glibc/libc_539.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The children field in a struct argp enables other argp
parsers to be combined with the referencing one for the parsing of a
single set of arguments. This field should point to a vector of
struct argp_child, which is terminated by an entry having a value
of zero in the argp field.
Where conflicts between combined parsers arise, as when two specify an option with the same name, the parser conflicts are resolved in favor of the parent argp parser(s), or the earlier of the argp parsers in the list of children.
children field in a struct argp. The fields are as
follows:
const struct argp *argp
int flags
const char *header
"". As with
header strings specified in an option entry, the conventional value of
the last character is `:'. See section 25.3.4 Specifying Options in an Argp Parser.
int group
group field in struct argp_option. See section 25.3.4 Specifying Options in an Argp Parser. All child-groupings follow parent options at a
particular group level. If both this field and header are zero,
then the child's options aren't grouped together, they are merged with
parent options at the parent option group level.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |