We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5495aa commit 17033f8Copy full SHA for 17033f8
library/std/src/net/tcp.rs
@@ -54,9 +54,9 @@ use crate::time::Duration;
54
/// } // the stream is closed here
55
/// ```
56
///
57
-/// # SIGPIPE
+/// # Platform-specific Behavior
58
59
-/// Writes to the underlying socket in `SOCK_STREAM` mode are made with `MSG_NOSIGNAL` flag.
+/// On Unix writes to the underlying socket in `SOCK_STREAM` mode are made with `MSG_NOSIGNAL` flag.
60
/// This suppresses the emission of the `SIGPIPE` signal when writing to disconnected socket.
61
/// In some cases getting a `SIGPIPE` would trigger process termination.
62
#[stable(feature = "rust1", since = "1.0.0")]
0 commit comments