Skip to content
Snippets Groups Projects
Commit 91e06069 authored by Colin Walters's avatar Colin Walters
Browse files

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.
parent e7f70810
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment