Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

get_options(9) [centos man page]

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 3.10 June 2014 GET_OPTIONS(9)

Check Out this Related Man Page

MB_DETECT_ENCODING(3)							 1						     MB_DETECT_ENCODING(3)

mb_detect_encoding - Detect character encoding

SYNOPSIS
string mb_detect_encoding (string $str, [mixed $encoding_list = mb_detect_order()], [bool $strict = false]) DESCRIPTION
Detects character encoding in string$str. PARAMETERS
o $str - The string being detected. o $encoding_list -$encoding_list is list of character encoding. Encoding order may be specified by array or comma separated list string. If $encoding_list is omitted, detect_order is used. o $strict -$strict specifies whether to use the strict encoding detection or not. Default is FALSE. RETURN VALUES
The detected character encoding or FALSE if the encoding cannot be detected from the given string. EXAMPLES
Example #1 mb_detect_encoding(3) example <?php /* Detect character encoding with current detect_order */ echo mb_detect_encoding($str); /* "auto" is expanded according to mbstring.language */ echo mb_detect_encoding($str, "auto"); /* Specify encoding_list character encoding by comma separated list */ echo mb_detect_encoding($str, "JIS, eucjp-win, sjis-win"); /* Use array to specify encoding_list */ $ary[] = "ASCII"; $ary[] = "JIS"; $ary[] = "EUC-JP"; echo mb_detect_encoding($str, $ary); ?> SEE ALSO
mb_detect_order(3). PHP Documentation Group MB_DETECT_ENCODING(3)
Man Page