diff options
author | Harvey Harrison <[email protected]> | 2008-10-16 13:40:34 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-10-16 14:58:07 -0700 |
commit | aa46a63efc896f0a6d54e7614e750788793582e5 (patch) | |
tree | c5b7b23186e6a47f56f00b139bf61a8faa477692 /net/unix/sysctl_net_unix.c | |
parent | 73b4a24f5ff09389ba6277c53a266b142f655ed2 (diff) |
lib: pull base-guessing logic to helper function
The default base is 10 unless there is a leading zero, in which
case the base will be guessed as 8.
The base will only be guesed as 16 when the string starts with '0x'
the third character is a valid hex digit.
Signed-off-by: Harvey Harrison <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions