std.Io.Threaded: allow length-0 file writes

At first I thought about keeping this as an assertion but I can see this
being useful if you already know how many bytes to read and you are
filling the end of the buffer.

This also more closely mirrors POSIX APIs.
f27bd87adeAndrew Kelley committed on 12/24/2025, 6:15:10 AMparent6f00157
2 files changedLine totals unavailable