mirror of
https://github.com/ziglang/zig.git
synced 2025-12-07 23:03:08 +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>