1FUNCTION::STRTOL(3stap) A collection of standard strin FUNCTION::STRTOL(3stap)
2
3
4
6 function::strtol - strtol - Convert a string to a long
7
9 strtol:long(str:string,base:long)
10
12 str
13 string to convert
14
15 base
16 the base to use
17
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
24 tapset::string(3stap)
25
26
27
28SystemTap Tapset Reference November 2021 FUNCTION::STRTOL(3stap)