dirent Struct Reference
[Special Functions.]


Detailed Description

Directory entry structure.

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

Definition at line 115 of file dirent.h.

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.


Field Documentation

u_long dirent::d_fileno

File number, unused.

Definition at line 116 of file dirent.h.

u_short dirent::d_reclen

Record length, unused.

Definition at line 117 of file dirent.h.

u_char dirent::d_type

File type, 0=regular, 1=directory.

Definition at line 118 of file dirent.h.

Referenced by PhatDirRead().

u_char dirent::d_namlen

Length of string in d_name.

Definition at line 119 of file dirent.h.

Referenced by PhatDirRead().

char dirent::d_name[MAXNAMLEN+1]

Name of this entry.

Definition at line 120 of file dirent.h.

Referenced by NutFtpTransferDirectory(), and PhatDirRead().


The documentation for this struct was generated from the following file:
© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/