]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
feat: F_GETPIPE_SZ/F_SETPIPE_SZ pipe capacity control via fcntl
authorTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 00:45:30 +0000 (21:45 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 00:45:30 +0000 (21:45 -0300)
commitc5ef35da6045aa6439edf46740f702d0c6704155
tree617d5a854a565e3714ee5c5213c33a0c2a367e0e
parent7c107aa4ca5ae2d3235165f855476cb9f2b7b539
feat: F_GETPIPE_SZ/F_SETPIPE_SZ pipe capacity control via fcntl

- F_GETPIPE_SZ returns current pipe buffer capacity
- F_SETPIPE_SZ resizes pipe buffer (min 512, max 65536)
- Linearizes ring buffer data during resize
- Returns EBUSY if new size < current data count
- Added EBUSY errno (16)
- 35/35 smoke tests pass, cppcheck clean
include/errno.h
src/kernel/syscall.c
user/ulibc/include/fcntl.h