main() { if (vfork() == 0) write(1, "child\n", 6); else { wait(0); write(1, "parent\n", 7); } exit(0); }