summaryrefslogtreecommitdiffstats
path: root/tapsets/API-string-quoted.html
blob: 4079e6d4aab3e99c6e7e13d90c054a3ffab135ad (plain) (blame)
1 2 3 4 5 6 7 8 9 10 11 12 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>function::string_quoted</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="string.stp.html" title="Chapter 28. A collection of standard string functions"><link rel="prev" href="API-str-replace.html" title="function::str_replace"><link rel="next" href="API-stringat.html" title="function::stringat"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">function::string_quoted</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-str-replace.html">Prev</a> </td><th width="60%" align="center">Chapter 28. A collection of standard string functions</th><td width="20%" align="right"> <a accesskey="n" href="API-stringat.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-string-quoted"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::string_quoted — Quotes a given string </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> string_quoted:string(str:string) </pre></div><div class="refsect1"><a name="idp71580172524448"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>str</code></em></span></dt><dd><p> The kernel address to retrieve the string from </p></dd></dl></div></div><div class="refsect1"><a name="idp71580172527648"></a><h2>Description</h2><p> 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. </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-str-replace.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="string.stp.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-stringat.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">function::str_replace</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">function::stringat</span></td></tr></table></div></body></html>