hzto - translate absolute time to timeout delay
#include <sys/types.h>
#include <sys/time.h>
#include <sys/systm.h>
int
hzto(struct timeval *tv);
The hzto() function computes the number of hz until the
specified time
occurs. This is mainly used to translate a timeval into a
suitable argument
for timeout(9).
This function is implemented in the file
sys/kern/kern_clock.c.
hz(9), timeout(9), tvtohz(9)
OpenBSD 3.6 August 31, 1999
[ Back ] |