uapi
uapi copied to clipboard
Unix API
`waitid(2)` would be a nice addition, mostly because it's the only way to wait on a pidfd.
`IntoUstr` is implemented for `PathBuf` and `&'a Path`, but not for `&'a PathBuf`. This requires users to call `pathbuf.as_path()`, which is mildly inconvenient. I suggest implementing `IntoUstr` for `&'a PathBuf`...
Some unstructured thoughts on the state of the libc crate: 1. Kernel types/constants are often duplicated between musl and glibc 2. Types/constants are sometimes present in one but not the...