projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5fcc3d8f6937109121747f6f7cfbf6ca85a58ad6
[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
}