Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\string.c Create Date:2022-07-28 07:27:04
Last Modify:2022-05-21 21:56:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:simple_guess_base

Proto:static unsigned int simple_guess_base(const char *cp)

Type:unsigned int

Parameter:

TypeParameterName
const char *cp
104  If cp[0] == '0' Then
105  If Works only for digits and letters, but small and fast (cp[1]) == 'x' && isxdigit(cp[2]) Then Return 16
107  Else Return 8
109  Else
110  Return 10
Caller
NameDescribe
simple_strtoullsimple_strtoull - convert a string to an unsigned long 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