pub fn reset_sigpipe()Expand description
Reset SIGPIPE to default behavior (SIG_DFL) for GNU coreutils compatibility. Rust sets SIGPIPE to SIG_IGN by default, but GNU tools are killed by SIGPIPE (exit code 141 = 128 + 13). This must be called at the start of main().