DOKK / manpages / debian 11 / systemtap-doc / function::strtol.3stap.en
FUNCTION::STRTOL(3stap) A collection of standard strin FUNCTION::STRTOL(3stap)

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


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

str

string to convert

base

the base to use

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

tapset::string(3stap)

November 2020 SystemTap Tapset Reference