function::strtol(3stap)

function::strtol3stap

Strtol - convert a string to a long

Usage

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

Arguments

str

string to convert

base

the base to use

Overview

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).

See ALSO0

tapset::string(3stap)

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.