ia64/xen-unstable

view extras/mini-os/include/posix/dirent.h @ 18376:9818c7099e20

stubdom: int32_t is provided by stdint.h, not sys/types.h

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 27 09:44:51 2008 +0100 (2008-08-27)
parents a905c582a406
children
line source
1 #ifndef _POSIX_DIRENT_H
2 #define _POSIX_DIRENT_H
4 #include <stdint.h>
6 struct dirent {
7 char *d_name;
8 };
10 typedef struct {
11 struct dirent dirent;
12 char *name;
13 int32_t offset;
14 char **entries;
15 int32_t curentry;
16 int32_t nbentries;
17 int has_more;
18 } DIR;
20 DIR *opendir(const char *name);
21 struct dirent *readdir(DIR *dir);
22 int closedir(DIR *dir);
24 #endif /* _POSIX_DIRENT_H */