1FUNCTION::USER_STRIN(3staSpt)ring and data retrieving fFuUnNCTION::USER_STRIN(3stap)
2
3
4
6 function::user_string_n2 - Retrieves string of given length from user
7 space
8
10 user_string_n2:string(addr:long,n:long,err_msg:string)
11
13 addr
14 the user space address to retrieve the string from
15
16 n
17 the maximum length of the string (if not null terminated)
18
19 err_msg
20 the error message to return when data isn't available
21
23 Returns the C string of a maximum given length from a given user space
24 address. Returns the given error message string on the rare cases when
25 userspace data is not accessible at the given address.
26
27
28
29SystemTap Tapset Reference August 2011 FUNCTION::USER_STRIN(3stap)