This is a part of POSIX, the only Hurd-specific thing is the use of the
underlying RPC rather than the standard C function. I don’t see why we should
document things that are universally true rather than Hurd-specific. If you
want to know how to use dirent then go read a POSIX manual.
I see your point. But this is more about the hurd-specific nature of dir_readdir than the dirent struct. readdir in glibc returns one dirent at a time, not something called an array that can’t be reliably treated as one. That’s what this patch is meant to document.
Andrew