Arduino Posix Filesystems
Loading...
Searching...
No Matches
fs_dirent.h
1#pragma once
2
3#define MAXNAMLEN 1024
4#define DT_REG 8
5#define DT_DIR 4
6struct dirent {
7 char d_name[MAXNAMLEN];
8 int d_type;
9};
10
11
12struct DIR_ {};
13typedef struct DIR_ DIR;
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18DIR *opendir(const char *name);
19int closedir(DIR *dirp);
20struct dirent *readdir(DIR *dirp);
21int unlink(const char *pathname);
22
23#ifdef __cplusplus
24}
25#endif
Definition: fs_dirent.h:12
Definition: fs_dirent.h:6