%PDF- %PDF-
Direktori : /usr/share/doc/systemtap-client-2.9/ |
Current File : //usr/share/doc/systemtap-client-2.9/API-indent-depth.html |
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>function::indent_depth</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="ansi.stp.html" title="Chapter 29. Utility functions for using ansi control chars in logs"><link rel="prev" href="API-indent.html" title="function::indent"><link rel="next" href="API-thread-indent.html" title="function::thread_indent"></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::indent_depth</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-indent.html">Prev</a> </td><th width="60%" align="center">Chapter 29. Utility functions for using ansi control chars in logs</th><td width="20%" align="right"> <a accesskey="n" href="API-thread-indent.html">Next</a></td></tr></table><hr></div><div class="refentry" title="function::indent_depth"><a name="API-indent-depth"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::indent_depth — returns the global nested-depth </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting"> indent_depth:long(delta:long) </pre></div><div class="refsect1" title="Arguments"><a name="idp12859632"></a><h2>Arguments</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>delta</code></em></span></dt><dd><p> the amount of depth added/removed for each call </p></dd></dl></div></div><div class="refsect1" title="Description"><a name="idp12862864"></a><h2>Description</h2><p> This function returns a number for appropriate indentation, similar to <code class="function">indent</code>. Call it with a small positive or matching negative delta. Unlike the thread_indent_depth function, the indent does not track individual indent values on a per thread basis. </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-indent.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ansi.stp.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-thread-indent.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>function::indent</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>function::thread_indent</span></td></tr></table></div></body></html>