Would be nice to have `readdir()` support `d_type` so that it is possible to distinguish between files and directories in a portable way.
Would be nice to have
readdir()supportd_typeso that it is possible to distinguish between files and directories in a portable way.