blob: 0f2b7240441fe09e9cf41cd3aca21638fac0d55b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "libc/stdio.h"
char show_tics=0;
void schedule(){
}
void clock(){
static int tic=0;
static int sec=0;
tic++;
if(tic>=20){
tic=0;
sec++;
if(show_tics)
putchar('.');
}
schedule();
}
|