source: soft/tp18/correction/main0.c @ 48

Last change on this file since 48 was 25, checked in by porquet, 14 years ago

corrections sur tp18

File size: 213 bytes
Line 
1#include "stdio.h"
2
3///////////
4int main0()
5{
6        char    buf;
7
8        tty_printf(" TASK 0 :  CYCLE COUNT \n");
9
10        while (1) {
11        tty_getc_irq(&buf);
12        tty_printf("\n**** cycle = %d \n", proctime());
13        }
14        return 0;
15} // end main0
Note: See TracBrowser for help on using the repository browser.