add lab answers
This commit is contained in:
11
labcodes_answer/lab7_result/user/hello.c
Normal file
11
labcodes_answer/lab7_result/user/hello.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user