biostime()               Return the Time of Day
 
 #include   <bios.h>
 
 long       biostime(cmd,newtime);
 int        cmd;                         Operation to perform
 long       newtime;                     Time
 
    biostime() either reads or sets the BIOS timer.  The timer is
    counting ticks since midnight at a rate of approximately 18.2 ticks
    per second.  If 'cmd' = 0, biostime() returns the current value of
    the timer.  If 'cmd' = 1, the timer is set to the long value in
    'newtime'.
 
    Returns:    If 'cmd' = 0, the timer's current value is returned.

This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster