function::user_string_utf16(3stap)

function::user_string_utf163stap

Retrieves utf-16 string from user memory

Usage

1) user_string_utf16:string(addr:long)
2) user_string_utf16:string(addr:long,err_msg:string)

Arguments

addr

The user address to retrieve the string from

err_msg

The error message to return when data isn't available

Overview

1) This function returns a null terminated UTF-8 string converted from the UTF-16 string at a given user memory address. Reports an error on string copy fault or conversion error.

2) This function returns a null terminated UTF-8 string converted from the UTF-16 string at a given user memory address. Reports the given error message on string copy fault or conversion error.

See ALSO0

tapset::uconversions(3stap)

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

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