Support ReadDir relative to an fd?
sourcefrog opened this issue · comments
For https://github.com/sourcefrog/conserve to use this very much I think it would want a way to open and read directories relative to a different directory fd.
This might already be possible but I don't think I see it?
On Linux this would be something like openat
then getdents64
? Or on more generic Unix perhaps openat
, fdopendir
, readdir
?