From: root Date: Mon, 12 Nov 2007 09:02:16 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: rel-0_9~16 X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/a728e62d7c25b8d8852e332e729e70248520a925?ds=sidebyside *** empty log message *** --- diff --git a/ev.html b/ev.html index a3813a2..aeefef7 100644 --- a/ev.html +++ b/ev.html @@ -6,7 +6,7 @@ - + @@ -588,11 +588,12 @@ ev_tstamp now), e.g.:

will usually be called just before the callback will be triggered, but might be called at other times, too.

NOTE: This callback must always return a time that is later than the -passed now value. Not even now itself will do, it must be larger.

+passed now value. Not even now itself will do, it must be larger.

This can be used to create very complex timers, such as a timer that triggers on each midnight, local time. To do this, you would calculate the -next midnight after now and return the timestamp value for this. How you do this -is, again, up to you (but it is not trivial).

+next midnight after now and return the timestamp value for this. How +you do this is, again, up to you (but it is not trivial, which is the main +reason I omitted it as an example).