Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
statx: Add an example of using this to determine mountpoint
- This use case is a specific reason to directly use the `statx` system call - It's a bit of a subtle API because there's 4 different flags involved, and it's not necessarily obvious that the relevant bitmasks aren't (yet) exposed in rustix, so one needs to use libc/linux-raw-sys directly - On the general principle of adding examples
- Loading branch information