diff options
| author | wcohen <wcohen> | 2011-07-29 22:02:34 +0000 |
|---|---|---|
| committer | wcohen <wcohen> | 2011-07-29 22:02:34 +0000 |
| commit | d3f6bd2095ba37e16a177b5473c60038350355f8 (patch) | |
| tree | 8f4c15aeef76e6169f4238e98f8278673f1fc71f /tapsets/API-tz-ctime.html | |
| parent | Remove old tapset documentation (1.4) (diff) | |
Add the new tapset reference manual (1.6)
Diffstat (limited to 'tapsets/API-tz-ctime.html')
| -rw-r--r-- | tapsets/API-tz-ctime.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tapsets/API-tz-ctime.html b/tapsets/API-tz-ctime.html new file mode 100644 index 00000000..33675f9c --- /dev/null +++ b/tapsets/API-tz-ctime.html | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>function::tz_ctime</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="ctime.stp.html" title="Chapter 4. Time utility functions"><link rel="prev" href="API-tz-name.html" title="function::tz_name"><link rel="next" href="system.stp.html" title="Chapter 5. Time utility functions"></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::tz_ctime</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-tz-name.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Time utility functions</th><td width="20%" align="right"> <a accesskey="n" href="system.stp.html">Next</a></td></tr></table><hr></div><div class="refentry" title="function::tz_ctime"><a name="API-tz-ctime"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::tz_ctime — | ||
| 2 | Convert seconds since epoch into human readable date/time string, with local time zone | ||
| 3 | </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting"> | ||
| 4 | tz_ctime(epochsecs:) | ||
| 5 | </pre></div><div class="refsect1" title="Arguments"><a name="id480780"></a><h2>Arguments</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>epochsecs</code></em></span></dt><dd><p> | ||
| 6 | number of seconds since epoch (as returned by <code class="function">gettimeofday_s</code>) | ||
| 7 | </p></dd></dl></div></div><div class="refsect1" title="Description"><a name="id480811"></a><h2>Description</h2><p> | ||
| 8 | Takes an argument of seconds since the epoch as returned by | ||
| 9 | <code class="function">gettimeofday_s</code>. Returns a string of the same form as <code class="function">ctime</code>, but | ||
| 10 | offsets the epoch time for the local time zone, and appends the name of the | ||
| 11 | local time zone. The string length may vary. The time zone information is | ||
| 12 | passed by staprun at script startup only. | ||
| 13 | </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-tz-name.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ctime.stp.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="system.stp.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>function::tz_name</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 5. Time utility functions</td></tr></table></div></body></html> | ||
