HomeSort by: relevance | last modified time | path
    Searched refs:wstatus (Results 1 - 11 of 11) sorted by relevancy

  /src/external/gpl2/diffutils/dist/src/
util.c 288 int wstatus;
293 wstatus = pclose (outfile);
294 if (wstatus == -1)
299 if (waitpid (pr_pid, &wstatus, 0) < 0)
302 if (! werrno && WIFEXITED (wstatus) && WEXITSTATUS (wstatus) == 127)
305 if (wstatus != 0)
285 int wstatus; local
sdiff.c 266 check_child_status (int werrno, int wstatus, int max_ok_status,
269 int status = (! werrno && WIFEXITED (wstatus)
270 ? WEXITSTATUS (wstatus)
707 int wstatus;
711 wstatus = pclose (diffout);
712 if (wstatus == -1)
716 while (waitpid (diffpid, &wstatus, 0) < 0)
733 check_child_status (werrno, wstatus, EXIT_FAILURE, diffargv[0]);
736 exit (WEXITSTATUS (wstatus));
1053 int wstatus;
705 int wstatus; local
1049 int wstatus; local
    [all...]
diff3.c 1151 int fd, wstatus;
1254 wstatus = pclose (fpipe);
1255 if (wstatus == -1)
1262 if (waitpid (pid, &wstatus, 0) < 0)
1267 if (! werrno && WIFEXITED (wstatus))
1268 switch (WEXITSTATUS (wstatus))
1277 if (werrno || ! (WIFEXITED (wstatus) && WEXITSTATUS (wstatus) < 2))
1147 int fd, wstatus; local
  /src/external/gpl2/rcs/dist/src/
rcsutil.c 1016 int wstatus; local
1072 wstatus = spawn_RCS(0, args[1], (char**)(args + 1));
1074 if (wstatus == -1 && errno == ENOEXEC) {
1076 wstatus = spawnv(0, args[0], (char**)args);
1129 if (waitpid(pid, &wstatus, 0) < 0)
1135 if ((w = wait(&wstatus)) < 0)
1156 wstatus = system(b.string);
1160 if (!WIFEXITED(wstatus)) {
1161 if (WIFSIGNALED(wstatus)) {
1162 psignal(WTERMSIG(wstatus), args[1])
    [all...]
rcsfnms.c 933 int closeerrno, closeerror, e, fd[2], readerror, toolong, wstatus; local
972 readerror = toolong = wstatus = 0;
996 if (waitpid(child, &wstatus, 0) < 0)
997 wstatus = 1;
1002 if ((w = wait(&wstatus)) < 0) {
1003 wstatus = 1;
1029 if (wstatus || p == path || *--p != '\n') {
  /src/external/bsd/nsd/dist/
verify.c 292 int wstatus; local
308 while(((pid = waitpid(-1, &wstatus, WNOHANG)) == -1 && errno == EINTR)
325 if(!WIFEXITED(wstatus)) {
331 int status = WEXITSTATUS(wstatus);
  /src/external/gpl2/xcvs/dist/diff/
util.c 306 int wstatus, w;
310 wstatus = pclose (outfile);
314 while ((w = waitpid (pr_pid, &wstatus, 0)) < 0 && errno == EINTR)
319 if (wstatus != 0)
303 int wstatus, w; local
diff3.c 1278 int fd, wstatus;
1325 wstatus = diff_run (ap - argv, (char **) argv, diffout, my_callbacks_arg);
1330 if (wstatus == 2)
1274 int fd, wstatus; local
  /src/external/bsd/ntp/dist/ntpd/
ntpd.c 1735 int wstatus; local
1736 if (cpid == waitpid(cpid, &wstatus, (blocking ? 0 : WNOHANG))) {
1737 if (WIFEXITED(wstatus)) {
1738 rc = WEXITSTATUS(wstatus);
1741 } else if (WIFSIGNALED(wstatus)) {
1744 WTERMSIG(wstatus));
  /src/external/cddl/osnet/dist/cmd/dtrace/
dtrace.c 843 int wstatus = proc_getwstat(P);
872 if (WIFSIGNALED(wstatus)) {
874 WTERMSIG(wstatus));
881 } else if (WEXITSTATUS(wstatus) != 0) {
883 pid, WEXITSTATUS(wstatus));
  /src/usr.bin/rlogin/
rlogin.c 369 int wstatus; local
380 while ((w = wait(&wstatus)) > 0 && w != child)

Completed in 38 milliseconds