FUNCTION::SET\_POINTE(3stap) Context Functions FUNCTION::SET\_POINTE(3stap)

# [NAME](#NAME)

function::set\_pointer\_arg - Set function argument as pointer value

# [SYNOPSIS](#SYNOPSIS)

```


    set_pointer_arg(n:long,v:long)
```

# [ARGUMENTS](#ARGUMENTS)

*n*

index of argument to return

*v*

value to set

# [DESCRIPTION](#DESCRIPTION)

Set the unsigned value of argument n, same as ulong\_arg. Can be used with any type of pointer.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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