#include <dirent.h>
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. |