[Jamie Lokier <jamie.lokier@cern.ch>] libc/1068: [glibc] Possible erroneous return code from Linux __getdirentries

Jamie Lokier jamie.lokier@cern.ch
Wed Apr 7 08:06:00 GMT 1999


Mark Kettenis wrote:
> Jamie, why are you calling __getdirentries?  The symbol has a double
> underscore in front of it and therefore it is a glibc internal symbol
> that should not be used outside glibc itself.

I'm not, I'm calling getdirentries which is an alias.
I wrote __getdirentries in the bug report because that's
the name of the function I was reading.

Actually in the end I decided to call getdents directly on Linux because
it is noticably faster :)

-- Jamie



More information about the Libc-alpha mailing list