1FUNCTION::STRTOL(3stap) A collection of standard strin FUNCTION::STRTOL(3stap)
2
3
4

NAME

6       function::strtol - strtol - Convert a string to a long
7

SYNOPSIS

9           strtol:long(str:string,base:long)
10

ARGUMENTS

12       str
13           string to convert
14
15       base
16           the base to use
17

DESCRIPTION

19       This function converts the string representation of a number to an
20       integer. The base parameter indicates the number base to assume for the
21       string (eg. 16 for hex, 8 for octal, 2 for binary).
22

SEE ALSO

24       tapset::string(3stap)
25
26
27
28SystemTap Tapset Reference         May 2019            FUNCTION::STRTOL(3stap)
Impressum