diff options
author | Michael Baikov <manpacket@gmail.com> | 2022-06-13 11:48:24 +0800 |
---|---|---|
committer | Michael Baikov <manpacket@gmail.com> | 2022-10-14 08:57:41 -0400 |
commit | 19c83afbbfa8dd509e803ef972be0c52f32acb87 (patch) | |
tree | 152a73044b7c1e640c25512cd4d918e683e14ec1 /test/test_fcntl.rs | |
parent | 7f0fdf237c7d05523944c14c79fecbae45723598 (diff) | |
download | nix-19c83afbbfa8dd509e803ef972be0c52f32acb87.zip |
reimplement recvmsg/sendmmsg
New implementation performs no allocations after all the necessary
structures are created, removes potentially unsound code that
was used by the old version (see below) and adds a bit more
documentation about bugs in how timeout is actually handled
```
let timeout = if let Some(mut t) = timeout {
t.as_mut() as *mut libc::timespec
} else {
ptr::null_mut()
};
```
Diffstat (limited to 'test/test_fcntl.rs')
0 files changed, 0 insertions, 0 deletions