Query: ddi_get_time
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ddi_get_time(9F) Kernel Functions for Drivers ddi_get_time(9F)NAMEddi_get_time - returns the current time in secondsSYNOPSIS#include <sys/types.h> #include <sys/ddi.h> #include <sys/sunddi.h> time_t ddi_get_time(void);INTERFACE LEVELSolaris DDI specific (Solaris DDI).DESCRIPTIONddi_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.RETURN VALUESddi_get_time() returns the time in seconds.CONTEXTThis routine can be called from any context.SEE ALSOddi_get_lbolt(9F), drv_getparm(9F), drv_usectohz(9F) Writing Device Drivers STREAMS Programming Guide SunOS 5.10 18 Feb 1998 ddi_get_time(9F)