Maybe its better: if (fork() == 0), isn't it?