nix
nix copied to clipboard
Rust friendly bindings to *nix APIs
Hi, at the moment nix only supports receiving the `fanotify_event_metadata` from the `Fanotify::read_events` method. This skips over all the additional information records that could be returned by fanotify (such as...
`fstatfs` takes as `AsFd`. It used to take `AsRawFd` in 0.26. That's fine, but `Dir` does not implement `AsFd`, requiring an unsafe BorrowedFd construction.
From the VERSIONS section in [mmap](https://man7.org/linux/man-pages/man2/mmap.2.html) man page: > If the `MAP_FIXED` flag is specified, and `addr` is 0 (NULL), then the mapped address will be 0 (NULL). In this...
The convention was added in #287, and there are a few places that need changing. I'm going through all the bitflags as part of #315, and noticing them. Here's a...
# Context The glibc wrappers of the interfaces listed in this issue are usually added in a relatively new version, which, if used, won't work with an older glibc. Currently,...
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...