aboutsummaryrefslogtreecommitdiff
path: root/src/ipc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc.rs')
-rw-r--r--src/ipc.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ipc.rs b/src/ipc.rs
index 36e69ea2..291b6ca2 100644
--- a/src/ipc.rs
+++ b/src/ipc.rs
@@ -131,13 +131,6 @@ pub(crate) fn set_local_stream_polling(stream: &mut LocalStream, enabled: bool)
}
}
-#[cfg(unix)]
-pub(crate) fn shutdown_local_stream_write(stream: &LocalStream) -> io::Result<()> {
- match stream {
- LocalStream::UdSocket(stream) => stream.inner().shutdown(std::net::Shutdown::Write),
- }
-}
-
/// Binds a listener for private terminal traffic. Unix callers restrict the
/// socket file after binding; Windows must set the named-pipe DACL at creation.
pub(crate) fn bind_private_local_listener(path: &Path) -> io::Result<LocalListener> {