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

# function::user\_long(3stap)

Retrieves a long value stored in user space

## NAME

function::user\_long - Retrieves a long value stored in user space

## SYNOPSIS

```
    user_long:long(addr:long)
```

## ARGUMENTS

*addr*

the user space address to retrieve the long from

## DESCRIPTION

Returns the long value from a given user space address. Returns zero when user space data is not accessible. Note that the size of the long depends on the architecture of the current user space task (for those architectures that support both 64/32 bit compat tasks).

## SEE ALSO0

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