Nut/OS  4.10.3
API Reference
dirent Struct Reference

Directory entry structure. More...

#include <dirent.h>

Collaboration diagram for dirent:

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.

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.


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 NutFtpTransferDirectoryOptions(), and PhatDirRead().


The documentation for this struct was generated from the following file: