1FUNCTION::USER_STRIN(3staSpt)ring and data retrieving fFuUnNCTION::USER_STRIN(3stap)
2
3
4

NAME

6       function::user_string_utf16 - Retrieves UTF-16 string from user memory
7

SYNOPSIS

9       1) user_string_utf16:string(addr:long)
10
11       2) user_string_utf16:string(addr:long,err_msg:string)
12

ARGUMENTS

14       addr
15           The user address to retrieve the string from
16
17       err_msg
18           The error message to return when data isn't available
19

DESCRIPTION

21       1) This function returns a null terminated UTF-8 string converted from
22       the UTF-16 string at a given user memory address. Reports an error on
23       string copy fault or conversion error.
24
25       2) This function returns a null terminated UTF-8 string converted from
26       the UTF-16 string at a given user memory address. Reports the given
27       error message on string copy fault or conversion error.
28

SEE ALSO

30       tapset::uconversions(3stap)
31
32
33
34SystemTap Tapset Reference       November 2019     FUNCTION::USER_STRIN(3stap)
Impressum