nix icon indicating copy to clipboard operation
nix copied to clipboard

unistd: adding linux(glibc)/freebsd close_range.

Open devnexen opened this issue 1 year ago • 2 comments
trafficstars

Allows to close a range of file descriptors, can set close-on-exec on these and/or unsharing (as having its own file descriptors table after fork for the calling process).

What does this PR do

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

devnexen avatar Oct 22 '24 22:10 devnexen