… | |
… | |
4 | <head> |
4 | <head> |
5 | <title>libev</title> |
5 | <title>libev</title> |
6 | <meta name="description" content="Pod documentation for libev" /> |
6 | <meta name="description" content="Pod documentation for libev" /> |
7 | <meta name="inputfile" content="<standard input>" /> |
7 | <meta name="inputfile" content="<standard input>" /> |
8 | <meta name="outputfile" content="<standard output>" /> |
8 | <meta name="outputfile" content="<standard output>" /> |
9 | <meta name="created" content="Mon Nov 12 08:58:02 2007" /> |
9 | <meta name="created" content="Mon Nov 12 09:02:48 2007" /> |
10 | <meta name="generator" content="Pod::Xhtml 1.57" /> |
10 | <meta name="generator" content="Pod::Xhtml 1.57" /> |
11 | <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> |
11 | <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> |
12 | <body> |
12 | <body> |
13 | <div class="pod"> |
13 | <div class="pod"> |
14 | <!-- INDEX START --> |
14 | <!-- INDEX START --> |
… | |
… | |
87 | will not have this argument.</p> |
87 | will not have this argument.</p> |
88 | |
88 | |
89 | </div> |
89 | </div> |
90 | <h1 id="TIME_AND_OTHER_GLOBAL_FUNCTIONS">TIME AND OTHER GLOBAL FUNCTIONS</h1><p><a href="#TOP" class="toplink">Top</a></p> |
90 | <h1 id="TIME_AND_OTHER_GLOBAL_FUNCTIONS">TIME AND OTHER GLOBAL FUNCTIONS</h1><p><a href="#TOP" class="toplink">Top</a></p> |
91 | <div id="TIME_AND_OTHER_GLOBAL_FUNCTIONS_CONT"> |
91 | <div id="TIME_AND_OTHER_GLOBAL_FUNCTIONS_CONT"> |
92 | <p>Libev represents time as a single floating point number. This type is |
92 | <p>Libev represents time as a single floating point number, representing the |
|
|
93 | (fractional) number of seconds since the (POSIX) epoch (somewhere near |
|
|
94 | the beginning of 1970, details are complicated, don't ask). This type is |
93 | called <code>ev_tstamp</code>, which is what you should use too. It usually aliases |
95 | called <code>ev_tstamp</code>, which is what you should use too. It usually aliases |
94 | to the double type in C.</p> |
96 | to the double type in C.</p> |
95 | <dl> |
97 | <dl> |
96 | <dt>ev_tstamp ev_time ()</dt> |
98 | <dt>ev_tstamp ev_time ()</dt> |
97 | <dd> |
99 | <dd> |