FUNCTION::SET\_USER\_S(3stap) String and data writing functi FUNCTION::SET\_USER\_S(3stap)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

```


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

# [ARGUMENTS](#ARGUMENTS)

*addr*

The user address to write the string to

*val*

The string which is to be written

# [DESCRIPTION](#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](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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