delorie.com/djgpp/doc/libc/libc_76.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

biostime

Syntax

 
#include <bios.h>

long biostime(int cmd, long newtime);

Description

This function reads (cmd=0) or sets (cmd=1) the internal tick counter, which is the number of 18.2 Hz ticks since midnight.

Return Value

When reading, the number of ticks since midnight.

Portability

ANSI/ISO C No
POSIX No

Example

 
long ticks = biostime(0, 0);


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004