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 119 of file dirent.h.


Data Fields

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

Field Documentation

File number, unused.

Definition at line 120 of file dirent.h.

Record length, unused.

Definition at line 121 of file dirent.h.

File type, 0=regular, 1=directory.

Definition at line 122 of file dirent.h.

Referenced by PhatDirRead().

Length of string in d_name.

Definition at line 123 of file dirent.h.

Referenced by PhatDirRead().

char dirent::d_name[MAXNAMLEN+1]

Name of this entry.

Definition at line 124 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/