]> 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)
commit279dc8260174965261b032cb764e7681aa39b765
tree47f73288f1c345136fa2673ea3a3a48d5082cef8
parent3865429ae2952aa76032a187d2362d3d7826a483
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