function::set_user_string_n.3stap man page

function::set_user_string_n ā€” Writes a string of given length to user memory

Synopsis

    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

Description

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)

Info

May 2019 SystemTap Tapset Reference String and data writing functi