FUNCTION::RETURN_STR(3stap)
π FUNCTION::RETURN_STR π
okay bestie, welcome to the Errno Tapset corner of the 3stap manual pages π this one's short, sweet, and lowkey iconic, so let's get into it.
β¨ NAME β¨
function::return_str β literally formats the return value as a string π
β¨ SYNOPSIS β¨
return_str:string(format:long,ret:long)
β¨ ARGUMENTS β¨
formatβ the variable that decides what base value the return type is gonna use, bestie. it's the vibe-setter πΈretβ the return value itself, and yeah, it's typically$returnπ
β¨ DESCRIPTION β¨
so this function gets used by the syscall tapset, and what it does is hand you back a string. that's it, that's the whole gig β¨
set format like this and it's giving:
1β decimal2β hex3β octal
and ngl, you should know that this function is preferred over returnstr β like, returnstr is fine but this one is the main character π periodt.
β¨ SEE ALSO β¨
tapset::errno(3stap)π¦
and that's the whole page, bestie!! π«Ά this one came from the SystemTap Tapset Reference, version field literally just says Ver, and it's dated September 2026 π
slay, go format some return values, iykyk ππ
β¨
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms