---
name: "function::set_user_string_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_user_string_arg"
---

# function::set\_user\_string\_arg(3stap)

Writes a string to user memory.

## NAME

function::set\_user\_string\_arg - Writes a string to user memory.

## SYNOPSIS

```
    set_user_string_arg(addr:long,val:string)
```

## ARGUMENTS

*addr*

The user address to write the string to

*val*

The string which is to be written

## DESCRIPTION

Writes the given string to a given user memory address. Reports a warning on string copy fault. Requires the use of guru mode (-g).

## SEE ALSO0

[*tapset::uconversions-guru*(3stap)](/tapset::uconversions-guru/3stap.md)
