Re: [PATCH] man/man2/getdents.2: Fix incorrect argument type

Alejandro Colomar
2026-04-06T08:28:07Z

[-- Attachment #1: Type: text/plain, Size: 895 bytes --]

Hi vursc,

On Mon, Apr 06, 2026 at 05:37:24AM +0000, vursc wrote:
> Should I document the dirent64 structure in glibc?

Given that it's different from the kernel one, I think we should
document both, yes.

> versions of struct dirent64 in glibc, in
> glibc/sysdeps/unix/sysv/linux/bits/dirent.h and glibc/bits/dirent.h,
> and the latter seems irrelevant on linux systems.

Yes, I seem to have the former in the installed headers. I don't know
why the latter exists. I've CCed libc-help@ in case they can help.

>
> And I'm not sure about the wording. Feel free to reword it as you see
> fit.

The current patch seems reasonable. If you add the glibc struct, I'll
add it, and later maybe I'll tweak that page to look more like other
pages.

Have a lovely day!
Alex

>
> -vursc
>

--
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]