Kernel Functions for Drivers ddigetlbolt(9F)
NAME
ddigetlbolt - returns the value of lbolt
SYNOPSIS
#include
#include
#include
clockt ddigetlbolt(void);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
DESCRIPTION
ddigetlbolt() returns the value of lbolt where lbolt is an
integer that represents the number of clock ticks since the
last system reboot. This value is used as a counter or
timer inside the system kernel. The tick frequency can be
determined by using drvusectohz(9F) which converts
microseconds into clock ticks.
RETURN VALUES
ddigetlbolt() returns the value of lbolt.
CONTEXT
This routine can be called from any context.
SEE ALSO
ddigettime(9F), drvgetparm(9F), drvusectohz(9F)
Writing Device Drivers
STREAMS Programming Guide
SunOS 5.11 Last change: 18 Feb 1998 1
|