Sponsor:

Your company here, and a link to your site. Click to find out more.

function::return_str.3stap - Man Page

Formats the return value as a string

Synopsis

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

Arguments

format

Variable to determine return type base value

ret

Return value (typically $return)

Description

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)

Info

November 2023 SystemTap Tapset Reference Errno Tapset