]> 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)
commite96fa4427db63b32924387b915a7a5e2cc723d2e
treeb2c5380d184eb376d49420c95001b451171e4c07
parent034a0bcab746361acc308bafd97bbcbdb0ce597f
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