13 /* Sometimes child goes first (non-zero), sometimes parent (zero). This
14 printing means we can detect if we correctly get a zero result and a
15 non-zero result (--> three 'X's printed), but the output doesn't depend
18 printf("%s", pid
==0 ? "X" : "XX");
21 waitpid(pid
, NULL
, 0);