11 lines
192 B
C
11 lines
192 B
C
|
#include <stdio.h>
|
||
|
#include <bios.h>
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
long time_of_day;
|
||
|
|
||
|
_bios_timeofday( _TIME_GETCLOCK, &time_of_day );
|
||
|
printf( "Ticks since midnight: %lu\n", time_of_day );
|
||
|
}
|