Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

dirent Struct Reference
[Special Functions.]

#include <dirent.h>


Detailed Description

Directory entry structure.

This structure is returned by readdir(). It is not optimal for Nut/OS, but compatible to *nix systems.


Data Fields

u_long d_fileno
 File number, unused.
u_short d_reclen
 Record length, unused.
u_char d_type
 File type, 0=regular, 1=directory.
u_char d_namlen
 Length of string in d_name.
char d_name [MAXNAMLEN+1]
 Name of this entry.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/