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
7
typedef
struct
DIR
{
8
int
fd
;
9
uint64_t
offset
;
10
struct
dirent
de
;
11
}
DIR
;
12
13
DIR
*
opendir
(
const
char
*);
14
struct
dirent
*
readdir
(
DIR
*);
15
void
rewinddir
(
DIR
*);
16
void
seekdir
(
DIR
*,
long
);
17
long
telldir
(
DIR
*);
18
int
closedir
(
DIR
*);
19
20
#endif
/* __DIRENT_H__ */
21
closedir
int closedir(DIR *)
Definition:
dir.c:54
telldir
long telldir(DIR *)
Definition:
dir.c:48
seekdir
void seekdir(DIR *, long)
Definition:
dir.c:42
DIR::offset
uint64_t offset
Definition:
dirent.h:9
rewinddir
void rewinddir(DIR *)
Definition:
dir.c:36
readdir
struct dirent * readdir(DIR *)
Definition:
dir.c:25
DIR::de
struct dirent de
Definition:
dirent.h:10
opendir
DIR * opendir(const char *)
Definition:
dir.c:11
DIR::fd
int fd
Definition:
dirent.h:8
DIR
Definition:
dirent.h:7
dirent
Definition:
dirent.h:9
uint64_t
unsigned long uint64_t
Definition:
types.h:13
include
dirent.h
Generated by
1.9.6