This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

readdir hypothesis on struct dirent ino_t value


Hi guys,

I've a question related to the implementation of the readdir () function in the POSIX sub-folder.
File readdir.c, line 95, the function assume that if dp -> p_ino is equal to 0, then the entry need to be skipped.


However, I've seen no behavior hypothesis concerning the value of the dp -> p_ino value either in the man 2 readdir,
the man 2 getdents, or the in the readdir page in the opengroup website.


Can anyone explain why newlib's readdir behaves this way ?
Thank you for your time, guys.

Regard,
Xavier Guérin

--
Xavier Guérin - Doctoral student
TIMA Laboratory, SLS Group
46, av. Félix Viallet, 38000 GRENOBLE, FR
Mail : xavier.guerin@imag.fr
Phone : +33(0)4 76 57 47 59
Ad Astra Per Aspera
Tristo è quel discepolo che non avanza suo maestro


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]