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