Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 8e87fca2f49595adc16d9aa519a6edad > files > 387

systemtap-1.6-1.fc14.x86_64.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>function::return_str</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="errno.stp.html" title="Chapter&#160;18.&#160;Errno Tapset"><link rel="prev" href="API-returnstr.html" title="function::returnstr"><link rel="next" href="dentry.stp.html" title="Chapter&#160;19.&#160;Directory-entry (dentry) Tapset"></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>function::return_str</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-returnstr.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;18.&#160;Errno Tapset</th><td width="20%" align="right">&#160;<a accesskey="n" href="dentry.stp.html">Next</a></td></tr></table><hr></div><div class="refentry" title="function::return_str"><a name="API-return-str"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::return_str &#8212; 
     Formats the return value as a string
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
    return_str:string(format:long,ret:long)
</pre></div><div class="refsect1" title="Arguments"><a name="id586411"></a><h2>Arguments</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>format</code></em></span></dt><dd><p>
     Variable to determine return type base value
    </p></dd><dt><span class="term"><em class="parameter"><code>ret</code></em></span></dt><dd><p>
     Return value (typically <code class="envar">$return</code>)
    </p></dd></dl></div></div><div class="refsect1" title="Description"><a name="id586458"></a><h2>Description</h2><p>
   This function is used by the syscall tapset, and 
   returns a string. Set format equal to 1 for a decimal, 
   2 for hex, 3 for octal.
   </p><p>

   Note that this function is preferred over <code class="function">returnstr</code>.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-returnstr.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="errno.stp.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="dentry.stp.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>function::returnstr</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;Chapter&#160;19.&#160;Directory-entry (dentry) Tapset</td></tr></table></div></body></html>