Tizen RT Libs&Environment  v1.0 D5
dirent.h File Reference

Directory entries APIs. More...

#include <tinyara/config.h>
#include <sys/types.h>
#include <stdint.h>
#include <limits.h>
Include dependency graph for dirent.h:

Go to the source code of this file.

Data Structures

struct  dirent
 

Macros

#define DTYPE_FILE   0x01
 
#define DTYPE_CHR   0x02
 
#define DTYPE_BLK   0x04
 
#define DTYPE_DIRECTORY   0x08
 
#define DIRENT_ISFILE(dtype)   (((dtype) & DTYPE_FILE) != 0)
 
#define DIRENT_ISCHR(dtype)   (((dtype) & DTYPE_CHR) != 0)
 
#define DIRENT_ISBLK(dtype)   (((dtype) & DTYPE_BLK) != 0)
 
#define DIRENT_ISDIRECTORY(dtype)   (((dtype) & DTYPE_DIRECTORY) != 0)
 
#define EXTERN   extern
 

Typedefs

typedef void DIR
 

Functions

int closedir (FAR DIR *dirp)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
FAR DIRopendir (FAR const char *path)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
FAR struct direntreaddir (FAR DIR *dirp)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
int readdir_r (FAR DIR *dirp, FAR struct dirent *entry, FAR struct dirent **result)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
void rewinddir (FAR DIR *dirp)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 
void seekdir (FAR DIR *dirp, off_t loc)
 sets the location in the directory stream from which the next readdir() call will start. More...
 
off_t telldir (FAR DIR *dirp)
 gets the current location associated with the directory stream More...
 

Detailed Description

Directory entries APIs.

Definition in file dirent.h.