---
name: "function::set_long_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_long_arg"
---

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

Set argument as signed long

## NAME

function::set\_long\_arg - Set argument as signed long

## SYNOPSIS

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

## ARGUMENTS

*n*

index of argument to set

*v*

value to set

## DESCRIPTION

Set the value of argument n as a signed long. On architectures where a long is 32 bits, the value is sign-extended to 64 bits.

## SEE ALSO0

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