function::set_user_string_n(3stap)

function::set_user_string_n3stap

Writes a string of given length to user memory

Usage

    set_user_string_n(addr:long,n:long,val:string)

Arguments

addr

The user address to write the string to

n

The maximum length of the string

val

The string which is to be written

Overview

Writes the given string up to a maximum given length to a given user memory address. Reports an error on string copy fault. Requires the use of guru mode (-g).

See ALSO0

tapset::uconversions-guru(3stap)

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.