# dirent - [Overview](#section1397390635165636) - [Summary](#section1943097188165636) - [Data Fields](#pub-attribs) - [Details](#section1485027188165636) - [Field](#section740521908165636) - [d\_ino](#aaea0878aa0629630d94e180f5dbc22c5) - [d\_name](#ae52d525c8057131d7f1155fe7039910d) - [d\_off](#af812e4ed54eeb48e843efa6fb9a5465f) - [d\_reclen](#a90dc47836e8ef510437317876368859e) - [d\_type](#adca3b20d5a245f0d8b9f2aa84844b1ff) ## **Overview** **Related Modules:** [FS](fs.md) **Description:** Defines the content of the directory. ## **Summary** ## Data Fields

Variable Name

Description

d_ino

ino_t

d_off

off_t

d_reclen

unsigned short

d_type

unsigned char

d_name [256]

char

## **Details** ## **Field ** ## d\_ino ``` ino_t dirent::d_ino ``` **Description:** Inode number ## d\_name ``` char dirent::d_name[256] ``` **Description:** File name ## d\_off ``` off_t dirent::d_off ``` **Description:** Offset in the directory stream ## d\_reclen ``` unsigned short dirent::d_reclen ``` **Description:** File name length ## d\_type ``` unsigned char dirent::d_type ``` **Description:** File type