Tech News
← Home  ·  All topics

Posix Syscalls

1 GoKawiil brief on this topic · RSS for posix syscalls

Blog post explains why file reads and writes behave asymmetrically under error conditions

A technical blog post examines the POSIX read() and write() system calls, noting that despite their seemingly mirrored signatures, the two operations behave very differently once buffering layers and error handling are considered. The author traces this to the kernel's buffer cache and block-device architecture, where storage hardware only reads and writes in fixed-size blocks rather than arbitrary byte ranges.