Nut/OS  5.0.5
API Reference
dirent Struct Reference

Directory entry structure. More...

#include <dirent.h>

Collaboration diagram for dirent:
[legend]

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.


Field Documentation

File number, unused.

Record length, unused.

File type, 0=regular, 1=directory.

Referenced by PhatDirRead().

Length of string in d_name.

Referenced by PhatDirRead().

char dirent::d_name[MAXNAMLEN+1]

Name of this entry.

Referenced by NutFtpTransferDirectoryOptions(), and PhatDirRead().


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