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

NAME

6       function::user_string_n - Retrieves string of given length from user
7       space
8

SYNOPSIS

10           user_string_n:string(addr:long,n:long)
11

ARGUMENTS

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

DESCRIPTION

20       Returns the C string of a maximum given length from a given user space
21       address. Reports an error on the rare cases when userspace data is not
22       accessible at the given address.
23

SEE ALSO

25       tapset::uconversions(3stap)
26
27
28
29SystemTap Tapset Reference         June 2018       FUNCTION::USER_STRIN(3stap)
Impressum