From 216ec9f5bf6fdc6b051bdebdb1aa6cda06a3d901 Mon Sep 17 00:00:00 2001 From: Wildan Mubarok Date: Sun, 7 Jun 2026 06:49:36 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Mathew John Roberts --- src/header/sys_socket/constants.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/header/sys_socket/constants.rs b/src/header/sys_socket/constants.rs index bb5ff45466..dcee28ea1d 100644 --- a/src/header/sys_socket/constants.rs +++ b/src/header/sys_socket/constants.rs @@ -139,7 +139,8 @@ pub const MSG_TRUNC: c_int = 32; pub const MSG_DONTWAIT: c_int = 64; /// Attempt to fill the read buffer. pub const MSG_WAITALL: c_int = 256; -/// Do not generate SIGPIPE +/// No SIGPIPE generated when an attempt to send is made on a stream-oriented +/// socket that is no longer connected. pub const MSG_NOSIGNAL: c_int = 0x4000; /// Atomically set the `FD_CLOEXEC` flag on any file descriptors created via /// `SCM_RIGHTS` during `recvmsg()`.