1FUNCTION::USER_STRIN(3staSpt)ring and data retrieving fFuUnNCTION::USER_STRIN(3stap)
2
3
4
6 function::user_string_n - Retrieves string of given length from user
7 space
8
10 1) user_string_n:string(addr:long,n:long)
11
12 2) user_string_n:string(addr:long,n:long,err_msg:string)
13
15 addr
16 the user space address to retrieve the string from
17
18 n
19 the maximum length of the string (if not null terminated)
20
21 err_msg
22 the error message to return when data isn't available
23
25 1) Returns the C string of a maximum given length from a given user
26 space address. Reports an error on the rare cases when userspace data
27 is not accessible at the given address.
28
29 2) Returns the C string of a maximum given length from a given user
30 space address. Returns the given error message string on the rare cases
31 when userspace data is not accessible at the given address.
32
34 tapset::uconversions(3stap)
35
37 tapset::uconversions(3stap)
38
39
40
41SystemTap Tapset Reference April 2023 FUNCTION::USER_STRIN(3stap)