1STRICT_STRTOLL(9)          Basic C Library Functions         STRICT_STRTOLL(9)
2
3
4

NAME

6       strict_strtoll - convert a string to a long long strictly
7

SYNOPSIS

9       int strict_strtoll(const char * cp, unsigned int base,
10                          long long * res);
11

ARGUMENTS

13       cp
14           The string to be converted
15
16       base
17           The number base to use
18
19       res
20           The converted result value
21

DESCRIPTION

23       strict_strtoll is similiar to strict_strtoull, but it allows the first
24       character of a string is ´-´.
25
26       It returns 0 if conversion is successful and *res is set to the
27       converted value, otherwise it returns -EINVAL and *res is set to 0.
28
30Kernel Hackers Manual 2.6.         June 2019                 STRICT_STRTOLL(9)
Impressum