mirror of
https://github.com/ziglang/zig.git
synced 2026-01-07 05:55:36 +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>