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

# function::user\_ulong\_error(3stap)

Retrieves a unsigned long value stored in user space

## NAME

function::user\_ulong\_error - Retrieves a unsigned long value stored in user space

## SYNOPSIS

```
    user_ulong_error:long(addr:long)
```

## ARGUMENTS

*addr*

the user space address to retrieve the unsigned long from

## DESCRIPTION

Returns the unsigned long value from a given user space address. If the user space data is not accessible, an error will occur. Note that the size of the unsigned 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)
