[PATCH] Linux: Add <sys/direntries.h>

Florian Weimer fweimer@redhat.com
Tue Jun 18 16:15:00 GMT 2019


* Andreas Schwab:

> On Jun 18 2019, Florian Weimer <fweimer@redhat.com> wrote:
>
>> +@deftp {Data Type} {struct direntries}
>> +@standards {GNU, sys/direntries.h}
>> +
>> +This type is used to store an iterator which is used to traverse a
>> +buffer filled by the @code{getdents64} function.
>
> Did you mean direntries_read?

No, the data originally comes from getdents64.  Maybe this can be
presented better.  But below I describe direntries_read in terms of
direntries_init and getdents64, so I think this is fine.  But
suggestions welcome.

Thanks,
Florian



More information about the Libc-alpha mailing list