TizenRT Libs&Environment
v2.0 M2
|
Directory entries APIs. More...
#include <tinyara/config.h>
#include <sys/types.h>
#include <stdint.h>
#include <limits.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) |
close a directory stream More... | |
FAR DIR * | opendir (FAR const char *path) |
open directory associated with file descriptor More... | |
FAR struct dirent * | readdir (FAR DIR *dirp) |
read a directory More... | |
int | readdir_r (FAR DIR *dirp, FAR struct dirent *entry, FAR struct dirent **result) |
read a directory More... | |
void | rewinddir (FAR DIR *dirp) |
reset the position of a directory stream to the beginning of a directory 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... | |
Directory entries APIs.
Definition in file dirent.h.