os_kernel_lab/labcodes_answer/lab5_result/user/hello.c

12 lines
180 B
C
Raw Permalink Normal View History

2014-08-20 15:42:20 +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;
}