Re: git: d549de769055 - main - libc: Remove readdir_r(3) [This broke building rust 1.88]
- Reply: Steffen Nurpmeso : "Re: git: d549de769055 - main - libc: Remove readdir_r(3) [This broke building rust 1.88]"
- In reply to: Steffen Nurpmeso : "Re: git: d549de769055 - main - libc: Remove readdir_r(3) [This broke building rust 1.88]"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Sep 2025 14:12:16 UTC
Steffen Nurpmeso <steffen@sdaoden.eu> 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 - des@FreeBSD.org