Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1399 → Rev 1550

/demos/trunk/input/key.c
40,7 → 40,7
void my_sysclose(KEY_EVT *e)
{
kern_printf("S.Ha.R.K. closed.\n\n");
sys_end();
exit(0);
}
 
TASK my_getch(void *arg) {
98,7 → 98,7
pid = task_create("Keyb_Print", my_getch, &mp, NULL);
if (pid == NIL) {
perror("Could not create task <Keyb_Print>");
sys_end();
exit(1);
} else
task_activate(pid);