Skip to content

Commit

Permalink
Auto merge of rust-lang#69864 - LinkTed:master, r=Amanieu
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Dec 2, 2020
2 parents a094ff9 + 8983752 commit af69066
Show file tree
Hide file tree
Showing 11 changed files with 3,098 additions and 1,771 deletions.
1 change: 1 addition & 0 deletions library/std/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@
#![feature(rustc_private)]
#![feature(shrink_to)]
#![feature(slice_concat_ext)]
#![feature(slice_fill)]
#![feature(slice_internals)]
#![feature(slice_ptr_get)]
#![feature(slice_ptr_len)]
Expand Down
Loading

0 comments on commit af69066

Please sign in to comment.