suse man page for get_options

Query: get_options

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GET_OPTIONS(9)						  Basic Kernel Library Functions					    GET_OPTIONS(9)

NAME
get_options - Parse a string into a list of integers
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, a hyphen-separated range of _positive_ integers, or a combination of both. 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).
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 GET_OPTIONS(9)
Related Man Pages
mvaddnstr(3x) - redhat
mvwaddnstr(3x) - redhat
mvwaddstr(3x) - redhat
waddstr(3x) - redhat
curs_addstr(3x) - opendarwin
Similar Topics in the Unix Linux Community
Get Options and Parameters
Using perl to get options from command line