blob: 65a5f41299c1302b9d03651ae4adee0c9f47ac9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#include "kolibri_filesystem.h"
#include <sys/types.h>
int mkdir(char *dirname, long mode) {
}
DIR *opendir(char *path) {
}
struct dirent *readdir(DIR* dirp) {
}
int scandir(const char *dirp, struct dirent ***namelist,
int (*filter)(const struct dirent *),
int (*compar)(const struct dirent **, const struct dirent **)) {
}
char *realpath(const char *path, char *resolved_path) {
}
int closedir(DIR* opened_dir) {
}
/* int access(const char *pathname, int mode) { */
/* } */
/* ssize_t pread(int fd, void *buf, size_t count, off_t offset) */
/* { */
/* } */
/* ssize_t pwrite(int fd, const void *buf, size_t count, off_t offset) */
/* { */
/* } */
|