GET_OPTIONS
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
get_options - Parse a string into a list of integers
SYNOPSIS
"SYNOPSIS"
char * get_options (const char * str, int nints, int * ints);
ARGUMENTS
- str
-
String to be parsed
- nints
-
size of integer array
- ints
-
integer array
DESCRIPTION
This function parses a string containing a comma-separated
list of integers. The parse halts when the array is
full, or when no more numbers can be retrieved from the
string.
Return value is the character in the string which caused
the parse to end (typically a null terminator, if str is
completely parseable).
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 05:30:36 GMT, October 06, 2005