Steffen Nurpmeso <[email protected]> writes: > Only to mention that POSIX Issue 8 has posix_getdents() that > gives application programmers a good tool for flexible buffer > usage ("none to many" dirents in one go, as you need it), as well > as lots of *stat*(2) avoidance possibilities. This is a real > improvement when available, and i hope the world will go this > route, so that the only optional getdirentries() / getdents() > / getdents64() / readdir()+stat() dances will come to an end in > the future.
posix_getdents() is getdents() with an unused flag argument and deliberately incompatible types and names. I intend to implement it eventually, but it adds nothing. DES -- Dag-Erling Smørgrav - [email protected]
