|
|
1.1 ! root 1: /* test.c - main */ ! 2: ! 3: #include <conf.h> ! 4: #include <kernel.h> ! 5: ! 6: /*------------------------------------------------------------------------ ! 7: * main -- current test routines ! 8: *------------------------------------------------------------------------ ! 9: */ ! 10: main() ! 11: { ! 12: int prhello(); ! 13: int i; ! 14: ! 15: prhello(); ! 16: for (i=0; i<10; i++) { ! 17: kprintf ("sleeping for %d seconds...\n",i); ! 18: sleep (i); ! 19: } ! 20: } ! 21: prhello() ! 22: { ! 23: kprintf ("Hello, world\n"); ! 24: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.