dir.c - vx32 - Local 9vx git repository for patches.
(HTM) git clone git://r-36.net/vx32
(DIR) Log
(DIR) Files
(DIR) Refs
---
dir.c (362B)
---
1 #include <dirent.h>
2 #include <errno.h>
3 #include <stdio.h>
4
5 DIR *opendir(const char *path)
6 {
7 errno = EINVAL;
8 return NULL;
9 }
10
11 struct dirent *readdir(DIR *dir)
12 {
13 return NULL;
14 }
15
16 long telldir(DIR *dir)
17 {
18 return 0;
19 }
20
21 void seekdir(DIR *dir, long loc)
22 {
23 }
24
25 void rewinddir(DIR *dir)
26 {
27 }
28
29 int closedir(DIR *dir)
30 {
31 return -1;
32 }
33
34 int dirfd(DIR *dir)
35 {
36 return -1;
37 }