---
name: "function::returnval"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::returnval"
---

# function::returnval(3stap)

Possible return value of probed function

## NAME

function::returnval - Possible return value of probed function

## SYNOPSIS

```
    returnval:long()
```

## ARGUMENTS

None

## 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

[*tapset::errno*(3stap)](/tapset::errno/3stap.md)
