Registry / utility / sigpipe

sigpipe

JSON →
library0.1.3rscratesunverified

A single function call to reset SIGPIPE and fix `failed printing to stdout`

# Cargo.toml [dependencies] sigpipe = "0.1.3"
INSTALL
IMPORT
SIG · SIGPIPE
S
sigpipe
utilityrustv0.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

reset_sigpipe
use sigpipe::reset_sigpipe;

Reset SIGPIPE handling to prevent broken pipe errors

use sigpipe::reset_sigpipe; fn main() { reset_sigpipe(); println!("SIGPIPE handled"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
sigpipe — cargo add sigpipe · libregistry