Files
Daniele GiovaneandDean Galvin 767eb1ee98 feat(libkernel_sys): implement wait3 and wait4 (#9162)
* feat(libkernel_sys): implement wait3 and wait4
* style(libkernel_sys): remove redundant wait separator
* test(relinker): report operands and flags on MULX mismatch
* fix(tests): register write-watch fault cases once
* test(relinker): print the changed flag bits when MULX lowering changes arithmetic flags

Co-authored-by: Dean Galvin <dean.galvin@live.com>
2026-11-12 11:06:11 +13:00

15 lines
437 B
C++

#include "prx/libkernel_sys/include/Api.hpp"
#include "prx/libkernel/System/include/ProcessWait.hpp"
extern "C" {
int APS5_VABI wait4_nid_postfix(int pid, int* status, int options, void* usage) {
return WaitProcess_nid_no_patch(pid, status, options, static_cast<GuestResourceUsage*>(usage));
}
int APS5_VABI wait3_nid_postfix(int* status, int options, void* usage) {
return wait4_nid_postfix(-1, status, options, usage);
}
}