source: soft/tp8/correction/main.c @ 22

Last change on this file since 22 was 7, checked in by alain, 14 years ago

fichiers tp12

File size: 240 bytes
Line 
1
2#include "stdio.h"
3
4int main()
5{
6    volatile char       byte;
7    char        str[] = "\n hello world! \n";
8
9    while(1){
10        tty_puts((void*)str);
11        tty_getc((void*)&byte);
12        if (byte == 'q') exit();
13    }
14    exit();
15
16} // end main
Note: See TracBrowser for help on using the repository browser.