This HTML automatically generated with rman for NEMO
Table of Contents

Name

scanopt - scan a string of the form "word1,word2,..." for word match

Synopsis


bool scanopt(string option, string key);
int match(string keys, string option, int *mask);

Description

scanopt searches a comma separated list of words for an exact match in one of it’s components. Useful to check if an option is present. Warning: words must be separated by exactly one comma -- no spaces allowed!

match is a related routine, which allows for minimum match. It is however limited to the number of bits available in an integer, since the mask returned contains a masked integer of the options selected in the input string keys.

See Also

match(3NEMO)

Author

Joshua Barnes, Peter Teuben

History


xx-xxx-86    Created in the dark ages    Josh
6-nov-94    documented                         peter


Table of Contents