I would appreciate any donations. Wishlist or send e-mail type donations to maekawa AT daemon-systems.org.

Thank you.

ITIMERFIX(9) Kernel Developer's Manual ITIMERFIX(9)
NAMEitimerfix - check that a timeval value is valid, and correct
SYNOPSIS#include<sys/time.h>intitimerfix(structtimeval*tv);
DESCRIPTION
The itimerfix function checks that the value in tv is valid (0 <=
tv->tv_sec && 0 <= tv->tv_usec < 1000000), and that the total time
represented is at least one tick, or zero.
If the total represented time is nonzero and smaller than tick, it is
adjusted to exactly one tick.
RETURNVALUESitimerfix returns 0 on success or EINVAL if tv is invalid.
SEEALSOnanosleep(2), poll(2), select(2), setitimer(2)
NetBSD 8.0 November 23, 2001 NetBSD 8.0