Kernel Functions for Drivers ddigettime(9F)
NAME
ddigettime - returns the current time in seconds
SYNOPSIS
#include
#include
#include
timet ddigettime(void);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
DESCRIPTION
ddigettime() 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 VALUES
ddigettime() returns the time in seconds.
CONTEXT
This routine can be called from any context.
SEE ALSO
ddigetlbolt(9F), drvgetparm(9F), drvusectohz(9F)
Writing Device Drivers
STREAMS Programming Guide
SunOS 5.11 Last change: 18 Feb 1998 1
|