GETHZ(3C) INTERACTIVE UNIX System GETHZ(3C)
NAME
gethz - return the frequency of the system clock in ticks
per second
SYNOPSIS
int gethz() ;
DESCRIPTION
gethz returns the frequency of the system clock in ticks per
second.
SEE ALSO
environ(5).
WARNING
In the current implementation, gethz searches the environ-
ment list [see environ(5)] for a string of the form HZ=val,
and returns val.
If HZ is not defined in the environment, or if HZ cannot be
interpreted as a numeric integer, gethz returns 0.
CAVEAT
The implementation of gethz may change.
Rev. C Software Development Set Page 1