]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
posix: waitpid WNOHANG
authorTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 02:15:15 +0000 (23:15 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 02:15:15 +0000 (23:15 -0300)
commit471805d49cf297b54f4d72e0cb3c081fc36fb5c6
tree3b74d765d1b872e21c453472b5bda8943dee71f3
parentd076acc66d6ab898a146ac3721c3e297756bd850
posix: waitpid WNOHANG

Add WNOHANG option support to waitpid in kernel scheduler and syscall path, and include a userland smoke test.
include/process.h
src/kernel/scheduler.c
src/kernel/syscall.c
user/init.c