HZTO(9) BSD Kernel Manual HZTO(9)NAMEhzto - translate absolute time to timeout delay
SYNOPSIS
#include <sys/types.h>
#include <sys/time.h>
#include <sys/systm.h>
int
hzto(struct timeval *tv);
DESCRIPTION
The hzto() function computes the number of hz until the specified time
occurs. This is mainly used to translate a timeval into a suitable argu-
ment for timeout(9).
CODE REFERENCES
This function is implemented in the file sys/kern/kern_clock.c.
SEE ALSOhz(9), timeout(9), tvtohz(9)MirOS BSD #10-current August 31, 1999 1