--- libev/ev.html 2007/11/12 09:01:12 1.21 +++ libev/ev.html 2007/11/12 09:02:16 1.22 @@ -6,7 +6,7 @@ - + @@ -588,11 +588,12 @@ 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).