1FUNCTION::RETURN_STR(3stap)      Errno Tapset      FUNCTION::RETURN_STR(3stap)
2
3
4

NAME

6       function::return_str - Formats the return value as a string
7

SYNOPSIS

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

ARGUMENTS

12       format
13           Variable to determine return type base value
14
15       ret
16           Return value (typically $return)
17

DESCRIPTION

19       This function is used by the syscall tapset, and returns a string. Set
20       format equal to 1 for a decimal, 2 for hex, 3 for octal.
21
22       Note that this function is preferred over returnstr.
23

SEE ALSO

25       tapset::errno(3stap)
26
27
28
29SystemTap Tapset Reference       November 2021     FUNCTION::RETURN_STR(3stap)
Impressum