On Fri, Nov 23, 2012 at 01:54:34PM +0400, Andrew Vagin wrote: > > > pid = test_fork(); > > > if (pid < 0) { > > > - exit(1); > > > + exit(0); > > Why do we resturn 0 here? > I said that we may return 0, if a process completed successfully. Sliped in. sorry, i'll update. Cyrill