]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
posix: standardize -errno returns
authorTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 02:46:46 +0000 (23:46 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 02:46:46 +0000 (23:46 -0300)
commit7b3453170010007ae76f833f2e93d2d9e3eef8c9
treecc109365407fd31985aa4434ef51ac9de1156907
parent5ee615e7a651313933d344dc67f0a7822ccfe0ea
posix: standardize -errno returns

Adopt negative errno return convention across waitpid/open/fd_close and TTY read/write, add missing errno constants, and return ENOSYS for unknown syscalls.
include/errno.h
src/kernel/scheduler.c
src/kernel/syscall.c
src/kernel/tty.c