Content-type: text/html Man page of ddi_get_time

ddi_get_time

Section: Kernel Functions for Drivers (9F)
Updated: 18 Feb 1998
Index Return to Main Contents
 

NAME

ddi_get_time - returns the current time in seconds  

SYNOPSIS

#include <sys/types.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>

time_t ddi_get_time(void);  

INTERFACE LEVEL

Solaris DDI specific (Solaris DDI).  

DESCRIPTION

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.  

RETURN VALUES

ddi_get_time() returns the time in seconds.  

CONTEXT


 This routine can be called from any context.  

SEE ALSO

ddi_get_lbolt(9F), drv_getparm(9F), drv_usectohz(9F)

Writing Device Drivers


 STREAMS Programming Guide 


 

Index

NAME
SYNOPSIS
INTERFACE LEVEL
DESCRIPTION
RETURN VALUES
CONTEXT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:39:37 GMT, October 02, 2010