Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
_bios_timeofday Constants
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Constant: _TIME_GETCLOCK, _TIME_SETCLOCK
Include: <bios.h>
Context: _bios_timeofday
Synopsis: The <service> argument can be either of the following
manifest constants:
Constant Meaning
_TIME_GETCLOCK Copies the current value of the clock count to
the location pointed to by <timeval>. If
midnight has not passed since the last time
the system clock was read or set, the function
returns 0; otherwise, it returns 1.
_TIME_SETCLOCK Sets the current value of the system clock to
the value in the location pointed to by
<timeval>. There is no return value.