.\" 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_OPTION" "" "06 October 2005" "" "" .SH NAME get_option \- Parse integer from an option string .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int get_option (char ** \fIstr\fB, int * \fIpint\fB); \fR .SH "ARGUMENTS" .TP \fB\fIstr\fB\fR option string .TP \fB\fIpint\fB\fR (output) integer value parsed from \fIstr\fR .SH "DESCRIPTION" .PP Read an int from an option string; if available accept a subsequent comma as well. .SH "0" .PP no int in string .SH "1" .PP int found, no subsequent comma .SH "2" .PP int found including a subsequent comma