import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
3729fc68eb
commit
423ba10303
13396 changed files with 269468 additions and 0 deletions
11
software/cinit/browse_source/cinit-0.0.8/conf/sleep_init
Normal file
11
software/cinit/browse_source/cinit-0.0.8/conf/sleep_init
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue