Skip to content

Commit a7db0bf

Browse files
authored
Rollup merge of rust-lang#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 8fe73e8 + 7eea071 commit a7db0bf

File tree

11 files changed

+3039
-1771
lines changed

11 files changed

+3039
-1771
lines changed

library/std/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@
299299
#![feature(rustc_private)]
300300
#![feature(shrink_to)]
301301
#![feature(slice_concat_ext)]
302+
#![feature(slice_fill)]
302303
#![feature(slice_internals)]
303304
#![feature(slice_ptr_get)]
304305
#![feature(slice_ptr_len)]

0 commit comments

Comments
 (0)