FUNCTION::USER\_ULONG(3stap) String and data retrieving fun FUNCTION::USER\_ULONG(3stap)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

```


    user_ulong_error:long(addr:long)
```

# [ARGUMENTS](#ARGUMENTS)

*addr*

the user space address to retrieve the unsigned long from

# [DESCRIPTION](#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](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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