1FUNCTION::TEXT_STRN(3stapA)collection of standard striFnUNCTION::TEXT_STRN(3stap)
2
3
4

NAME

6       function::text_strn - Escape any non-printable chars in a string
7

SYNOPSIS

9           text_strn:string(input:string,len:long,quoted:long)
10

ARGUMENTS

12       input
13           the string to escape
14
15       len
16           maximum length of string to return (0 implies MAXSTRINGLEN)
17
18       quoted
19           put double quotes around the string. If input string is truncated
20           it will have “...”  after the second quote
21

DESCRIPTION

23       This function accepts a string of designated length, and any ASCII
24       characters that are not printable are replaced by the corresponding
25       escape sequence in the returned string.
26

SEE ALSO

28       tapset::string(3stap)
29
30
31
32SystemTap Tapset Reference         May 2019         FUNCTION::TEXT_STRN(3stap)
Impressum