Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
d4c85ebbc64b1eb141b310a4634c6ca37fd352c1
/
.
/
test
/
fork.c
blob: 3f68f6722ab7543f671e414e1b63c55fc5cd38c4 [
file
] [
log
] [
blame
]
main
()
{
if
(
fork
()
==
0
)
write
(
1
,
"child\n"
,
6
);
else
{
wait
(
0
);
write
(
1
,
"parent\n"
,
7
);
}
exit
(
0
);
}