diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-12-28 01:25:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-28 01:25:33 +0000 |
commit | c77a8728b558dc75a9a023c669543bf23dd13a9f (patch) | |
tree | 8460074c7e8a83261d591d4b97b0fcc2f7da0b45 /test/sys/test_aio.rs | |
parent | 2043bceb5b7120930b3d3752dfb8cb168076a982 (diff) | |
parent | 80f447b2ac9accf3b2c341f1ab7f84a8b03b50e0 (diff) | |
download | nix-c77a8728b558dc75a9a023c669543bf23dd13a9f.zip |
Merge #1619
1619: Added getters for the MqAttr struct r=rtzoeller a=fpagliughi
With the existing code, if you call `mq_getattr()`, there does not appear to be a way to get any of the attributes from the returned `MqAttr` struct, other than the flags. This adds getter functions to retrieve the size parameters of the queue, and the current number of messages in the queue.
Co-authored-by: fpagliughi <fpagliughi@mindspring.com>
Diffstat (limited to 'test/sys/test_aio.rs')
0 files changed, 0 insertions, 0 deletions