Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gethz(3C) — Interactive 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

environ(5)



          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



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026