.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "GET_OPTIONS" "" "06 October 2005" "" "" .SH NAME get_options \- Parse a string into a list of integers .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp char * get_options (const char * \fIstr\fB, int \fInints\fB, int * \fIints\fB); \fR .SH "ARGUMENTS" .TP \fB\fIstr\fB\fR String to be parsed .TP \fB\fInints\fB\fR size of integer array .TP \fB\fIints\fB\fR integer array .SH "DESCRIPTION" .PP 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. .PP Return value is the character in the string which caused the parse to end (typically a null terminator, if \fIstr\fR is completely parseable).