vfs: add directory APIs

This commit is contained in:
Ivan Grokhotkov
2017-01-03 03:26:25 +08:00
committed by Ivan Grokhotkov
parent 3f889de5ab
commit 6fb430f45e
4 changed files with 224 additions and 13 deletions
-13
View File
@@ -1,13 +0,0 @@
/* <dirent.h> includes <sys/dirent.h>, which is this file. On a
system which supports <dirent.h>, this file is overridden by
dirent.h in the libc/sys/.../sys directory. On a system which does
not support <dirent.h>, we will get this file which uses #error to force
an error. */
#ifdef __cplusplus
extern "C" {
#endif
#error "<dirent.h> not supported"
#ifdef __cplusplus
}
#endif