Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-28 06:11:56
Last Modify:2022-05-21 09:47:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:simple_strtol - convert a string to a signed long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use* This function is obsolete. Please use kstrtol instead.

Proto:long simple_strtol(const char *cp, char **endp, unsigned int base)

Type:long

Parameter:

TypeParameterName
const char *cp
char **endp
unsigned intbase
104  If cp == '-' Then Return -simple_strtoul - convert a string to an unsigned long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use* This function is obsolete. Please use kstrtoul instead.
107  Return simple_strtoul - convert a string to an unsigned long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use* This function is obsolete. Please use kstrtoul instead.
Caller
NameDescribe
vsscanfvsscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: format of buffer*@args: arguments
get_rangeIf a hyphen was found in get_option, this will handle the* range of numbers, M-N. This will expand the range and insert* the values[M, M+1, ..., N] into the ints array in get_options.
get_optionget_option - Parse integer from an option string*@str: option string*@pint: (output) integer value parsed from @str* Read an int from an option string; if available accept a subsequent* comma as well
match_onematch_one: - Determines if a string matches a simple pattern*@s: the string to examine for presence of the pattern*@p: the string containing the pattern*@args: array of %MAX_OPT_ARGS &substring_t elements. Used to return match* locations.
match_numbermatch_number: scan a number in the given base from a substring_t*@s: substring to be scanned*@result: resulting integer on success*@base: base to use when converting string* Description: Given a &substring_t and a base, attempts to parse the substring