os_kernel_lab/labcodes/lab7/user/hello.c

12 lines
180 B
C
Raw Normal View History

2012-08-22 12:32:13 +08:00
#include <stdio.h>
#include <ulib.h>
int
main(void) {
cprintf("Hello world!!.\n");
cprintf("I am process %d.\n", getpid());
cprintf("hello pass.\n");
return 0;
}