projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add problem 1-1 solution.
[pintos-anon]
/
grading
/
userprog
/
exec-missing.c
1
#include <stdio.h>
2
#include <syscall.h>
3
4
int
5
main (void)
6
{
7
printf ("(exec-missing) begin\n");
8
printf ("(exec-missing) exec(\"no-such-file\"): %d\n",
9
exec ("no-such-file"));
10
printf ("(exec-missing) end\n");
11
return 0;
12
}