GETHZ(S) UNIX System V GETHZ(S)
Name
gethz - return the frequency of the system clock in ticks
per second
Syntax
int gethz() ;
Description
gethz returns the frequency of the system clock in ticks per
second.
See Also
environ(M)
Warning
In the current implementation, gethz searches the
environment list (see environ(M)) 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.
Note
The implementation of gethz may change.
(printed 6/20/89)