blob: fe5ae080fd0d1d1bedb7a4c886fbbd81bc2cf0c7 (
plain) (
blame) 
 | 1 2 3 4 5 6 7 8 9 10 11 12 13  | <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>function::user_string_n_nofault</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="conversions.stp.html" title="Chapter 25. String and data retrieving functions Tapset"><link rel="prev" href="API-user-string-n.html" title="function::user_string_n"><link rel="next" href="API-user-string-n-quoted.html" title="function::user_string_n_quoted"></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::user_string_n_nofault</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-user-string-n.html">Prev</a> </td><th width="60%" align="center">Chapter 25. String and data retrieving functions Tapset</th><td width="20%" align="right"> <a accesskey="n" href="API-user-string-n-quoted.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-user-string-n-nofault"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::user_string_n_nofault — Retrieves string of given length from user space </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> user_string_n_nofault(addr:long,n:long) </pre></div><div class="refsect1"><a name="id2311"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>addr</code></em></span></dt><dd><p> the user space address to retrieve the string from </p></dd><dt><span class="term"><em class="parameter"><code>n</code></em></span></dt><dd><p> the maximum length of the string (if not null terminated) </p></dd></dl></div></div><div class="refsect1"><a name="id2312"></a><h2>Description</h2><p> Returns the C string of a maximum given length from a given user space address. Returns the empty string when userspace data is not accessible at the given address. </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-user-string-n.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="conversions.stp.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-user-string-n-quoted.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">function::user_string_n</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::user_string_n_quoted</span></td></tr></table></div></body></html> 
 |