blob: 3f68f6722ab7543f671e414e1b63c55fc5cd38c4 [file] [log] [blame]
main()
{
if (fork() == 0)
write(1, "child\n", 6);
else {
wait(0);
write(1, "parent\n", 7);
}
exit(0);
}