readdir hypothesis on struct dirent ino_t value
xavier Guerin
xavier.guerin@imag.fr
Wed Sep 24 19:46:00 GMT 2008
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
More information about the Newlib
mailing list