]> 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)
commit5da7c84576c45e7a5ecbdd65cdf9f6072edf030d
treef94911f7fc67958afaf63af8ddf8b7562c0f3fd0
parentc728212cbf93a53a1c680badf210fd81e7997791
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