CS350 COS
COS
Loading...
Searching...
No Matches
dirent.h
Go to the documentation of this file.
1
2#ifndef __DIRENT_H__
3#define __DIRENT_H__
4
5#include <sys/dirent.h>
6
7typedef struct DIR {
8 int fd;
10 struct dirent de;
12
13DIR *opendir(const char *);
14struct dirent *readdir(DIR *);
15void rewinddir(DIR *);
16void seekdir(DIR *, long);
17long telldir(DIR *);
18int closedir(DIR *);
19
20#endif /* __DIRENT_H__ */
21
int closedir(DIR *)
Definition: dir.c:54
long telldir(DIR *)
Definition: dir.c:48
void seekdir(DIR *, long)
Definition: dir.c:42
uint64_t offset
Definition: dirent.h:9
void rewinddir(DIR *)
Definition: dir.c:36
struct dirent * readdir(DIR *)
Definition: dir.c:25
struct dirent de
Definition: dirent.h:10
DIR * opendir(const char *)
Definition: dir.c:11
int fd
Definition: dirent.h:8
Definition: dirent.h:7
Definition: dirent.h:9
unsigned long uint64_t
Definition: types.h:13