posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
dirent Struct Reference

Directory entry returned by readdir(). More...

#include <zephyr/posix/dirent.h>

Data Fields

ino_t d_ino
 File serial number, 0 (untracked).
 
char d_name [255+1]
 Filename (null-terminated).
 

Detailed Description

Directory entry returned by readdir().

The d_name capacity is fixed rather than derived from NAME_MAX, whose value depends on feature-test macros: a structure layout that varies per translation unit would not be an ABI.

Definition at line 57 of file dirent.h.

Field Documentation

◆ d_ino

ino_t dirent::d_ino

File serial number, 0 (untracked).

Definition at line 58 of file dirent.h.

◆ d_name

char dirent::d_name[255+1]

Filename (null-terminated).

Definition at line 59 of file dirent.h.


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