4.8.0.0R6
Software Development Kit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
dirent.h File Reference

Definitions for file directory entries. More...

Data Structures

struct  dirent
 Directory entry struct written by readdir(). More...
 

Macros

#define DT_CHR   2
 Directory entry type character device.
 
#define DT_DIR   4
 Directory entry type directory.
 
#define DT_REG   8
 Directory entry type regular file.
 

Typedefs

typedef void DIR
 Directory stream type. More...
 

Functions

int closedir (DIR *dir)
 Close a directory stream. More...
 
int dirfd (DIR *dir)
 Extract the file descriptor used by a DIR stream. More...
 
DIRopendir (const char *path)
 Open a directory stream. More...
 
int readdir (DIR *dir, struct dirent *dent)
 Read a directory. More...
 

Detailed Description

Definitions for file directory entries.