summaryrefslogtreecommitdiff
path: root/test/test_fcntl.rs
diff options
context:
space:
mode:
authorMichael Baikov <manpacket@gmail.com>2022-06-13 11:48:24 +0800
committerMichael Baikov <manpacket@gmail.com>2022-10-14 08:57:41 -0400
commit19c83afbbfa8dd509e803ef972be0c52f32acb87 (patch)
tree152a73044b7c1e640c25512cd4d918e683e14ec1 /test/test_fcntl.rs
parent7f0fdf237c7d05523944c14c79fecbae45723598 (diff)
downloadnix-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