mirror of
https://codeberg.org/ziglang/zig
synced 2026-03-16 23:21:44 +00:00
It appears that ReadFile returns ERROR_BROKEN_PIPE for a broken pipe, but WriteFile returns ERROR_NO_DATA. Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>