FUNCTION::STRING\_QUO(3stap) A collection of standard strin FUNCTION::STRING\_QUO(3stap)

# [NAME](#NAME)

function::string\_quoted - Quotes a given string

# [SYNOPSIS](#SYNOPSIS)

```


    string_quoted:string(str:string)
```

# [ARGUMENTS](#ARGUMENTS)

*str*

The kernel address to retrieve the string from

# [DESCRIPTION](#DESCRIPTION)

Returns the quoted string version of the given string, with characters where any ASCII characters that are not printable are replaced by the corresponding escape sequence in the returned string. Note that the string will be surrounded by double quotes.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::string*(3stap)](/man/enterprise-packages/systemtap/tapset::string.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::string_quoted(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
