diff options
Diffstat (limited to 'newlib/libc/sys/sysvi386/sys/dirent.h')
-rw-r--r-- | newlib/libc/sys/sysvi386/sys/dirent.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/newlib/libc/sys/sysvi386/sys/dirent.h b/newlib/libc/sys/sysvi386/sys/dirent.h deleted file mode 100644 index 728042176..000000000 --- a/newlib/libc/sys/sysvi386/sys/dirent.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef _SYS_DIRENT_H -# define _SYS_DIRENT_H - -/* - * This file was written to be compatible with the BSD directory - * routines, so it looks like it. But it was written from scratch. - * Sean Eric Fagan, sef@Kithrup.COM - */ - -typedef struct _dirdesc { - int dd_fd; - long dd_loc; - long dd_size; - char *dd_buf; - int dd_len; - long dd_seek; -} DIR; - -# define __dirfd(dp) ((dp)->dd_fd) - -DIR *opendir (const char *); -struct dirent *readdir (DIR *); -void rewinddir (DIR *); -int closedir (DIR *); - -#include <sys/types.h> - -struct dirent { - long d_ino; - off_t d_off; - unsigned short d_reclen; - /* we need better syntax for variable-sized arrays */ - char d_name[1]; -}; - -#endif |