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

# function::set\_pointer\_arg(3stap)

Set function argument as pointer value

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

*n*

index of argument to return

*v*

value to set

## DESCRIPTION

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

## SEE ALSO0

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