Name
get_longoption —
Parse long from an option string
Synopsis
int get_longoption ( | char ** str, |
| long * plong) ; |
Arguments
str
option string
plong
(output) long value parsed from str
Description
Read a long from an option string; if available accept a subsequent
comma as well.
1
long found, no subsequent comma
2
long found including a subsequent comma