waitpid: add WSTOPPED and WCONTINUED to KNOWN_FLAGS

This commit is contained in:
Matheus
2024-05-22 09:45:42 -03:00
parent 0d58b93e5d
commit 13e7a6c1cc
+3 -1
View File
@@ -5,7 +5,9 @@
#include <logging.h>
#define WNOHANG 1
#define KNOWN_FLAGS WNOHANG
#define WSTOPPED 2
#define WCONTINUED 8
#define KNOWN_FLAGS (WNOHANG | WSTOPPED | WCONTINUED)
syscallret_t syscall_waitpid(context_t *context, pid_t pid, int *status, int options) {
syscallret_t ret = {