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

# [NAME](#NAME)

function::set\_user\_char - Writes a char value to user memory

# [SYNOPSIS](#SYNOPSIS)

```


    set_user_char(addr:long,val:long)
```

# [ARGUMENTS](#ARGUMENTS)

*addr*

The user address to write the char to

*val*

The char which is to be written

# [DESCRIPTION](#DESCRIPTION)

Writes the char value to a given user memory address. Reports an error when writing to the given address fails. 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_char(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
