table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
GET_OPTION(9) | Basic Kernel Library Functions | GET_OPTION(9) |
NAME¶
get_option - Parse integer from an option stringSYNOPSIS¶
int
get_option(char ** str,
int * pint);
ARGUMENTS¶
stroption string
pint
(output) integer value parsed from
str
DESCRIPTION¶
Read an int from an option string; if available accept a subsequent comma as well.RETURN VALUES¶
0 - no int in string 1 - int found, no subsequent comma 2 - int found including a subsequent comma 3 - hyphen found to denote a rangeCOPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |