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

  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
fork-no-detach-follow-child-dlopen.c 35 int wstatus; local
36 if (waitpid (pid, &wstatus, 0) == -1)
37 assert (WIFEXITED (wstatus) && WEXITSTATUS (wstatus) == 0);
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
fork-no-detach-follow-child-dlopen.c 35 int wstatus; local
36 if (waitpid (pid, &wstatus, 0) == -1)
37 assert (WIFEXITED (wstatus) && WEXITSTATUS (wstatus) == 0);
  /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/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
slow-waitpid.c 110 int wstatus; member in struct:__anon18331
168 real_waitpid (pid_t pid, int *wstatus, int options)
180 return (*real_func) (pid, wstatus, options);
212 waitpid (pid_t pid, int *wstatus, int options)
214 log_msg ("waitpid: waitpid (%d, %p, 0x%x)\n", pid, wstatus, options);
234 cached_wait_status.wstatus = tmp_wstatus;
288 *wstatus = cached_wait_status.wstatus;
294 return real_waitpid (pid, wstatus, options);
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
slow-waitpid.c 110 int wstatus; member in struct:__anon21072
168 real_waitpid (pid_t pid, int *wstatus, int options)
180 return (*real_func) (pid, wstatus, options);
212 waitpid (pid_t pid, int *wstatus, int options)
214 log_msg ("waitpid: waitpid (%d, %p, 0x%x)\n", pid, wstatus, options);
234 cached_wait_status.wstatus = tmp_wstatus;
288 *wstatus = cached_wait_status.wstatus;
294 return real_waitpid (pid, wstatus, options);
  /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/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/usr.bin/rlogin/
rlogin.c 369 int wstatus; local
380 while ((w = wait(&wstatus)) > 0 && w != child)
  /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/gpl2/rcs/dist/src/
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') {
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...]
  /src/external/gpl3/gdb/dist/gdb/
darwin-nat.c 1099 int wstatus; local
1101 res_pid = wait4 (inf->pid, &wstatus, 0, NULL);
1109 if (WIFEXITED (wstatus))
1111 status->set_exited (WEXITSTATUS (wstatus));
1113 res_pid, wstatus);
1115 else if (WIFSTOPPED (wstatus))
1124 else if (WIFSIGNALED (wstatus))
1127 (gdb_signal_from_host (WTERMSIG (wstatus)));
1135 "notification: 0x%x"), wstatus);
1407 struct target_waitstatus wstatus; local
1515 struct target_waitstatus wstatus; local
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/
darwin-nat.c 1096 int wstatus; local
1098 res_pid = wait4 (inf->pid, &wstatus, 0, NULL);
1106 if (WIFEXITED (wstatus))
1108 status->set_exited (WEXITSTATUS (wstatus));
1110 res_pid, wstatus);
1112 else if (WIFSTOPPED (wstatus))
1121 else if (WIFSIGNALED (wstatus))
1124 (gdb_signal_from_host (WTERMSIG (wstatus)));
1132 "notification: 0x%x"), wstatus);
1404 struct target_waitstatus wstatus; local
1512 struct target_waitstatus wstatus; local
    [all...]
  /src/external/mpl/dhcp/dist/client/
dhclient.c 4574 int pid, wpid, wstatus; local
4611 wstatus = 0;
4614 wpid = wait (&wstatus);
4618 wstatus = 0;
4642 if (!WIFEXITED(wstatus)) {
4643 int sigval = WTERMSIG(wstatus);
4648 return (WEXITSTATUS(wstatus));

Completed in 50 milliseconds