> How would a modern OS implement this?
fwrite only buffers because write is slow.
make it so write isn't slow and you don't need userspace buffering!