function::return_str(3stap)

function::return_str3stap

Formats the return value as a string

Usage

    return_str:string(format:long,ret:long)

Arguments

format

Variable to determine return type base value

ret

Return value (typically $return)

Overview

This function is used by the syscall tapset, and returns a string. Set format equal to 1 for a decimal, 2 for hex, 3 for octal.

Note that this function is preferred over returnstr.

See ALSO0

tapset::errno(3stap)

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

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

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