FUNCTION::RETURNVAL(3stap) Errno Tapset FUNCTION::RETURNVAL(3stap)

# [NAME](#NAME)

function::returnval - Possible return value of probed function

# [SYNOPSIS](#SYNOPSIS)

```


    returnval:long()
```

# [ARGUMENTS](#ARGUMENTS)

None

# [DESCRIPTION](#DESCRIPTION)

Return the value of the register in which function values are typically returned. Can be used in probes where **$return** isn't available. This is only a guess of the actual return value and can be totally wrong. Normally only used in dwarfless probes.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::errno*(3stap)](/man/enterprise-packages/systemtap/tapset::errno.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::returnval(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
