📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 09:17:05
📂
/ (Root)
/
opt
/
alt
/
ruby21
/
share
/
doc
/
ruby
/
capi
/
html
/
da
/
d10
📍 /opt/alt/ruby21/share/doc/ruby/capi/html/da/d10
🔄 Refresh
✏️
Editing: timev_8h.html
Read Only
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Ruby: timev.h File Reference</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Ruby  <span id="projectnumber">2.1.10p492(2016-04-01revision54464)</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Data Structures</a> | <a href="#define-members">Macros</a> | <a href="#typedef-members">Typedefs</a> </div> <div class="headertitle"> <div class="title">timev.h File Reference</div> </div> </div><!--header--> <div class="contents"> <p><a href="../../da/d10/timev_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Data Structures</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d53/structvtm.html">vtm</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:a3104e6ab77c71296e6879fc57af26e8e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d10/timev_8h.html#a3104e6ab77c71296e6879fc57af26e8e">TIME_SCALE</a>   1000000000</td></tr> <tr class="separator:a3104e6ab77c71296e6879fc57af26e8e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acba6d42e61e03fa3c561e8d6881eccb6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d10/timev_8h.html#acba6d42e61e03fa3c561e8d6881eccb6">TYPEOF_TIMEVAL_TV_SEC</a>   time_t</td></tr> <tr class="separator:acba6d42e61e03fa3c561e8d6881eccb6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9bbb225fe7700e28b1eb167c030b59b5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d10/timev_8h.html#a9bbb225fe7700e28b1eb167c030b59b5">TYPEOF_TIMEVAL_TV_USEC</a>   long</td></tr> <tr class="separator:a9bbb225fe7700e28b1eb167c030b59b5"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> Typedefs</h2></td></tr> <tr class="memitem:abe5239cfb3b9775b72cc1d81373c7e48"><td class="memItemLeft" align="right" valign="top">typedef unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d10/timev_8h.html#abe5239cfb3b9775b72cc1d81373c7e48">unsigned_time_t</a></td></tr> <tr class="separator:abe5239cfb3b9775b72cc1d81373c7e48"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a id="a3104e6ab77c71296e6879fc57af26e8e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a3104e6ab77c71296e6879fc57af26e8e">◆ </a></span>TIME_SCALE</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define TIME_SCALE   1000000000</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../da/d10/timev_8h_source.html#l00019">19</a> of file <a class="el" href="../../da/d10/timev_8h_source.html">timev.h</a>.</p> <p class="reference">Referenced by <a class="el" href="../../df/d73/time_8c_source.html#l00655">rb_time_magnify()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l03764">rb_time_succ()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l00666">rb_time_unmagnify()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l00683">rb_time_unmagnify_to_float()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l00704">split_second()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l04584">time_mdump()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l04697">time_mload()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l03258">time_nsec()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l02486">time_s_at()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l03286">time_subsec()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l03153">time_to_i()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l03227">time_usec()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l01851">timespec2timew()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l01862">timew2timespec()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l01877">timew2timespec_exact()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l01658">timew_out_of_timet_range()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l02557">usec2subsecx()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l02611">validate_vtm()</a>, and <a class="el" href="../../df/d73/time_8c_source.html#l01947">vtm_add_offset()</a>.</p> </div> </div> <a id="acba6d42e61e03fa3c561e8d6881eccb6"></a> <h2 class="memtitle"><span class="permalink"><a href="#acba6d42e61e03fa3c561e8d6881eccb6">◆ </a></span>TYPEOF_TIMEVAL_TV_SEC</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define TYPEOF_TIMEVAL_TV_SEC   time_t</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../da/d10/timev_8h_source.html#l00022">22</a> of file <a class="el" href="../../da/d10/timev_8h_source.html">timev.h</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d3/de7/thread_8c_source.html#l00964">double2timeval()</a>, <a class="el" href="../../df/d73/time_8c_source.html#l02417">rb_time_timeval()</a>, and <a class="el" href="../../df/d73/time_8c_source.html#l02398">time_timeval()</a>.</p> </div> </div> <a id="a9bbb225fe7700e28b1eb167c030b59b5"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9bbb225fe7700e28b1eb167c030b59b5">◆ </a></span>TYPEOF_TIMEVAL_TV_USEC</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define TYPEOF_TIMEVAL_TV_USEC   long</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../da/d10/timev_8h_source.html#l00028">28</a> of file <a class="el" href="../../da/d10/timev_8h_source.html">timev.h</a>.</p> <p class="reference">Referenced by <a class="el" href="../../df/d73/time_8c_source.html#l02417">rb_time_timeval()</a>, and <a class="el" href="../../df/d73/time_8c_source.html#l02398">time_timeval()</a>.</p> </div> </div> <h2 class="groupheader">Typedef Documentation</h2> <a id="abe5239cfb3b9775b72cc1d81373c7e48"></a> <h2 class="memtitle"><span class="permalink"><a href="#abe5239cfb3b9775b72cc1d81373c7e48">◆ </a></span>unsigned_time_t</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef unsigned long <a class="el" href="../../da/d10/timev_8h.html#abe5239cfb3b9775b72cc1d81373c7e48">unsigned_time_t</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../da/d10/timev_8h_source.html#l00033">33</a> of file <a class="el" href="../../da/d10/timev_8h_source.html">timev.h</a>.</p> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>
💾 Save Changes
❌ Cancel