]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
posix: add select() syscall (minimal)
authorTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 04:07:46 +0000 (01:07 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 04:07:46 +0000 (01:07 -0300)
commite4ef359d28d500d5cebb57f974b0f17f13b21e1d
tree46c74110cac7247ea1cd0487969f363ddbb6eb12
parent444aae5afb4209745222971718d6726b8c18aeab
posix: add select() syscall (minimal)

Add a minimal select() syscall implemented as a wrapper over poll(). Uses uint64_t read/write fd masks (nfds<=64), timeout semantics aligned with poll, and a userland smoke test with a pipe.
include/syscall.h
src/kernel/syscall.c
user/init.c