logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.

Name

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

See Also

tapset::errno(3stap)

SystemTap Tapset Reference                         April 2024                        FUNCTION::RETURN_STR(3stap)

Synopsis

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

See Also