about summary refs log tree commit diff
path: root/library/std/src/sys/unix/kernel_copy.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-02 17:36:29 +0000
committerbors <bors@rust-lang.org>2020-12-02 17:36:29 +0000
commitaf69066aa6afa7bff771a6ee9548b2b84a02a88a (patch)
treee27f9b8edb3821be445081b430bf38d06704eaaf /library/std/src/sys/unix/kernel_copy.rs
parenta094ff9590b83c8f94d898f92c2964a5803ded06 (diff)
parent8983752c12c65e598dff704502ad1b0334d1daaa (diff)
downloadrust-af69066aa6afa7bff771a6ee9548b2b84a02a88a.tar.gz
rust-af69066aa6afa7bff771a6ee9548b2b84a02a88a.zip
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.
Diffstat (limited to 'library/std/src/sys/unix/kernel_copy.rs')
0 files changed, 0 insertions, 0 deletions