Home
last modified time | relevance | path

Searched refs:wstatus (Results 1 – 13 of 13) sorted by relevance

/openbsd/src/gnu/llvm/lldb/source/Host/common/
DHost.cpp566 WaitStatus WaitStatus::Decode(int wstatus) { in Decode() argument
567 if (WIFEXITED(wstatus)) in Decode()
568 return {Exit, uint8_t(WEXITSTATUS(wstatus))}; in Decode()
569 else if (WIFSIGNALED(wstatus)) in Decode()
570 return {Signal, uint8_t(WTERMSIG(wstatus))}; in Decode()
571 else if (WIFSTOPPED(wstatus)) in Decode()
572 return {Stop, uint8_t(WSTOPSIG(wstatus))}; in Decode()
/openbsd/src/regress/sys/kern/kqueue/
Dkqueue-regress.c315 int i, kstatus, wstatus; in test_regress6() local
360 pid = waitpid(child, &wstatus, WNOHANG); in test_regress6()
370 if (wstatus != kstatus) { in test_regress6()
373 kstatus, wstatus); in test_regress6()
/openbsd/src/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/
DFTP.pm485 my($wstatus) = system($system);
486 if ($wstatus == 0) {
489 my $estatus = $wstatus >> 8;
495 returned status $estatus (wstat $wstatus)$size
1022 my($wstatus) = system($system);
1046 if ($wstatus == 0) {
1054 my $estatus = $wstatus >> 8;
1060 returned status $estatus (wstat $wstatus)$size
1249 my $wstatus = $?;
1250 my $estatus = $wstatus >> 8;
[all …]
DDistribution.pm4535 my($wstatus);
4536 unless ( ($wstatus = system(@args)) == 0 ) {
4537 my $estatus = $wstatus >> 8;
4540 returned status $estatus (wstat $wstatus)
/openbsd/src/gnu/llvm/lldb/source/Plugins/Process/OpenBSD/
DNativeProcessOpenBSD.cpp82 int wstatus; in Launch() local
83 ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0); in Launch()
86 if (!WIFSTOPPED(wstatus)) { in Launch()
88 WaitStatus::Decode(wstatus)); in Launch()
471 int wstatus; in Attach() local
473 if ((wstatus = waitpid(m_pid, NULL, 0)) < 0) in Attach()
/openbsd/src/gnu/usr.bin/cvs/diff/
Dutil.c303 int wstatus; in finish_output() local
307 wstatus = pclose (outfile); in finish_output()
311 if (waitpid (pr_pid, &wstatus, 0) < 0) in finish_output()
314 if (wstatus != 0) in finish_output()
Ddiff3.c1274 int fd, wstatus; local
1321 wstatus = diff_run (ap - argv, (char **) argv, diffout, my_callbacks_arg);
1326 if (wstatus == 2)
/openbsd/src/usr.sbin/nsd/
Dverify.c292 int wstatus; in verify_handle_exit() local
308 while(((pid = waitpid(-1, &wstatus, WNOHANG)) == -1 && errno == EINTR) in verify_handle_exit()
325 if(!WIFEXITED(wstatus)) { in verify_handle_exit()
331 int status = WEXITSTATUS(wstatus); in verify_handle_exit()
/openbsd/src/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/
DNativeProcessFreeBSD.cpp70 int wstatus; in Launch() local
71 ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0); in Launch()
74 if (!WIFSTOPPED(wstatus)) { in Launch()
76 WaitStatus::Decode(wstatus)); in Launch()
834 int wstatus; in Attach() local
837 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, 0)) < in Attach()
/openbsd/src/gnu/llvm/lldb/source/Plugins/Process/NetBSD/
DNativeProcessNetBSD.cpp75 int wstatus; in Launch() local
76 ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0); in Launch()
79 if (!WIFSTOPPED(wstatus)) { in Launch()
81 WaitStatus::Decode(wstatus)); in Launch()
858 int wstatus; in Attach() local
861 if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, m_pid, nullptr, in Attach()
/openbsd/src/gnu/llvm/lldb/include/lldb/Host/
DHost.h50 static WaitStatus Decode(int wstatus);
/openbsd/src/gnu/llvm/lldb/source/Plugins/Process/Linux/
DNativeProcessLinux.cpp238 int wstatus = 0; in Launch() local
239 ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0); in Launch()
242 if (!WIFSTOPPED(wstatus)) { in Launch()
244 WaitStatus::Decode(wstatus)); in Launch()
/openbsd/src/gnu/usr.bin/binutils/gdb/
DChangeLog-19999108 (child_attach_to_process): Remove unused local wstatus.