#include <sys/types.h> #include <sys/ddi.h> #include <sys/sunddi.h>
Solaris DDI specific (Solaris DDI).
ddi_get_time() returns the current time in seconds since 00:00:00 UTC, January 1, 1970. This value can be used to set of wait or expiration intervals.
ddi_get_time() returns the time in seconds.
This routine can be called from any context.
ddi_get_lbolt(9F), drv_getparm(9F), drv_usectohz(9F)
Writing Device Drivers
STREAMS Programming Guide