FUNCTION::ULONG\_ARG(3stap) Context Functions FUNCTION::ULONG\_ARG(3stap)

# [NAME](#NAME)

function::ulong\_arg - Return function argument as unsigned long

# [SYNOPSIS](#SYNOPSIS)

```


    ulong_arg:long(n:long)
```

# [ARGUMENTS](#ARGUMENTS)

*n*

index of argument to return

# [DESCRIPTION](#DESCRIPTION)

Return the value of argument n as an unsigned long. On architectures where a long is 32 bits, the value is zero-extended to 64 bits.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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