projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add more tests.
[pintos-anon]
/
grading
/
userprog
/
exec-arg.c
diff --git a/grading/userprog/exec-arg.c
b/grading/userprog/exec-arg.c
new file mode 100644
(file)
index 0000000..
97f94cf
--- /dev/null
+++ b/
grading/userprog/exec-arg.c
@@ -0,0
+1,11
@@
+#include <stdio.h>
+#include <syscall.h>
+
+int
+main (void)
+{
+ printf ("(exec-arg) begin\n");
+ join (exec ("child-arg childarg"));
+ printf ("(exec-arg) end\n");
+ return 0;
+}