www.nico.schottelius.org/software/cinit/browse_source/cinit-0.0.8/conf/sleep_init
Nico Schottelius 423ba10303 import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-16 12:53:45 +02:00

11 lines
309 B
Text

86400
The delay used in the main loop. It looks like some implementations
cannot handle the biggest integer value, as it has been calculated:
/* calculate biggest value */
ts.tv_sec = -1;
if(ts.tv_sec < 0) {
ts.tv_sec = 1 << ((sizeof(ts.tv_sec) * 8)-1);
ts.tv_sec = ts.tv_sec - 1;
}