We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9caf6 commit 718b16aCopy full SHA for 718b16a
libc/src/sys/wait/wait4Impl.h
@@ -65,6 +65,8 @@ LIBC_INLINE ErrorOr<pid_t> wait4impl(pid_t pid, int *wait_status, int options,
65
*wait_status = W_STOPCODE(info.si_status);
66
break;
67
case CLD_CONTINUED:
68
+ // Set wait_status to a value that the caller can check via WIFCONTINUED.
69
+ // glibc has a non-POSIX macro definition __W_CONTINUED for this value.
70
*wait_status = 0xffff;
71
72
default:
0 commit comments