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
/
join-twice.c
1
#include <stdio.h>
2
#include <syscall.h>
3
4
int
5
main (void)
6
{
7
pid_t child;
8
printf ("(join-twice) begin\n");
9
child = exec ("child-simple");
10
printf ("(join-twice) join(exec()) = %d\n", join (child));
11
join (child);
12
printf ("(join-twice) end\n");
13
return 0;
14
}