2 ms·
> ls actually uses readdir() from glibc, and glibc's readdir() calls getdents()/getdents64() (I checked the source) That's what I meant by "glibc seems aware t
by tyingq 5y ago
> ls actually uses readdir() from glibc, and glibc's readdir() calls getdents()/getdents64() (I checked the source)
That's what I meant by "glibc seems aware that getdents64() is the right syscall in both of those contexts".