dirent struct

Peter Mueller peter.o.mueller at gmx.de
Sat Sep 21 14:23:21 UTC 2002


Hello,

I want to use the t_type member of the dirent struct returned from readdir() to find out if the actual dir entry is a subdir or a plain file. First t_type is not available but rec_len and the value is always the same independant of entry type. Is this currect behaviour?

Is there an other way to find out if a readdir returned a file or a dir?

Thanks,
Peter

-- 
"This is an object-oriented system.
If we change anything, the users object."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20020921/c977565c/attachment.bin>


More information about the users mailing list