Loading [MathJax]/extensions/tex2jax.js
CS350 COS
COS
All Data Structures Files Functions Variables Typedefs Macros
dirent.h File Reference
#include <stdint.h>
Include dependency graph for dirent.h:

Go to the source code of this file.

Data Structures

struct  dirent
 

Macros

#define NAME_MAX   256
 
#define DT_UNKNOWN   0
 
#define DT_REG   1
 
#define DT_DIR   2
 
#define DT_LNK   3
 
#define DT_FIFO   4
 

Data Structure Documentation

◆ dirent

struct dirent

Definition at line 9 of file dirent.h.

Collaboration diagram for dirent:
[legend]
Data Fields
ino_t d_ino
char d_name[NAME_MAX]
uint8_t d_namlen
uint16_t d_reclen
uint8_t d_type

Macro Definition Documentation

◆ DT_DIR

#define DT_DIR   2

Definition at line 19 of file dirent.h.

◆ DT_FIFO

#define DT_FIFO   4

Definition at line 21 of file dirent.h.

◆ DT_LNK

#define DT_LNK   3

Definition at line 20 of file dirent.h.

◆ DT_REG

#define DT_REG   1

Definition at line 18 of file dirent.h.

◆ DT_UNKNOWN

#define DT_UNKNOWN   0

Definition at line 17 of file dirent.h.

◆ NAME_MAX

#define NAME_MAX   256

Definition at line 7 of file dirent.h.