ddi_get_time man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

DDI_GET_TIME(9F)					      DDI_GET_TIME(9F)

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. Changes in time of day clock may result in this	 value
       changing. In other words, the value is not monotonically increasing and
       therefore it must not be used to set wait or expiration intervals.  For
       that, instead use ddi_get_lbolt(9F) or gethrtime(9F).

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), gethrtime(9F)

       Writing Device Drivers

	STREAMS Programming Guide

				 Apr 15, 2014		      DDI_GET_TIME(9F)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net