Skip to content

Commit

Permalink
Rollup 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
Dylan-DPC authored Oct 1, 2020
2 parents 8fe73e8 + 7eea071 commit a7db0bf
Show file tree
Hide file tree
Showing 11 changed files with 3,039 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 @@ -299,6 +299,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 a7db0bf

Please sign in to comment.