nix icon indicating copy to clipboard operation
nix copied to clipboard

Added I/O safety to sys::aio

Open asomers opened this issue 1 year ago • 0 comments
trafficstars

What does this PR do

Adds I/O safety to the sys/aio module. Those methods now take AsFd arguments instead of RawFd. And struct Aiocb now has a lifetime argument.

Checklist:

  • [x] I have read CONTRIBUTING.md
  • [x] I have written necessary tests and rustdoc comments
  • [x] A change log has been added if this PR modifies nix's API

asomers avatar May 12 '24 12:05 asomers