FUNCTION::SET_USER_S

Section: String and data writing functi (3stap)
Updated: November 2020
Page Index
 

NAME

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 ALSO

tapset::uconversions-guru(3stap)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SEE ALSO