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