Lines Matching refs:retcode
48 int retcode;
54 retcode = pipe (pip);
56 if (retcode != 0)
58 fprintf (stderr, "Bad pipe %d\n", retcode);
83 while ((retcode = read (pip[0], buf, 1)) == 0)
86 if (retcode != 1)
88 fprintf (stderr, "Bad read 1: %d\n", retcode);
100 retcode = waitpid (pid, &st, __WALL);
102 if (retcode != pid || !WIFEXITED (st))
104 fprintf (stderr, "Bad wait %d:%d %x\n", pid, retcode, st);