www.delorie.com/djgpp/doc/libc-2.02/libc_71.html   search  
Go to the first, previous, next, last section, table of contents.


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

not ANSI, not POSIX

Example

long ticks = biostime(0, 0);


Go to the first, previous, next, last section, table of contents.

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 1998   by DJ Delorie     Updated Dec 1998  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)