optionMemberList (3) - Linux Manuals

optionMemberList: Get the list of members of a bit mask set

NAME

optionMemberList - Get the list of members of a bit mask set

SYNOPSIS

#include <your-opts.h>
cc [...] -o outfile infile.c -lopts [...]

char* optionMemberList(tOptDesc * od);

DESCRIPTION

This converts the OPT_VALUE_name mask value to a allocated string. It is the caller's responsibility to free the string.
od
the set membership option description

RETURN VALUE

the names of the set bits