Tizen RT Libs&Environment
v1.0 D5
|
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) |
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
FAR DIR * | opendir (FAR const char *path) |
POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More... | |
FAR struct dirent * | readdir (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... | |
Directory entries APIs.
Definition in file dirent.h.