Skip to content

Commit af69066

Browse files
committed
Auto merge of #69864 - LinkTed:master, r=Amanieu
unix: Extend UnixStream and UnixDatagram to send and receive file descriptors Add the functions `recv_vectored_fds` and `send_vectored_fds` to `UnixDatagram` and `UnixStream`. With this functions `UnixDatagram` and `UnixStream` can send and receive file descriptors, by using `recvmsg` and `sendmsg` system call.
2 parents a094ff9 + 8983752 commit af69066

File tree

11 files changed

+3098
-1771
lines changed

11 files changed

+3098
-1771
lines changed

library/std/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@
301301
#![feature(rustc_private)]
302302
#![feature(shrink_to)]
303303
#![feature(slice_concat_ext)]
304+
#![feature(slice_fill)]
304305
#![feature(slice_internals)]
305306
#![feature(slice_ptr_get)]
306307
#![feature(slice_ptr_len)]

0 commit comments

Comments
 (0)