readdir and d_ino set to 0

Chris Johns chrisj@rtems.org
Fri Sep 4 01:26:00 GMT 2009


Hello,

In newlib-1.17.0 used in RTEMS I see readdir has this code:

     if (dp->d_ino == 0)
         continue;

It would seem to me an ino of 0 is not allowed. Does anyone know why 0 
is handled this way ?

Regards
Chris



More information about the Newlib mailing list