-
- Downloads
dirfd: Add a public API to ensure a filled dtype
It's quite common to iterate over a directory recursively, only caring about the file type, but not other bits returned by `stat()`. Good file systems fill in `dt_type`, but not all do. This function papers over that in userspace conveniently.
Loading
Please register or sign in to comment