aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/linux/sys/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/sys/dirent.h')
-rw-r--r--newlib/libc/sys/linux/sys/dirent.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/newlib/libc/sys/linux/sys/dirent.h b/newlib/libc/sys/linux/sys/dirent.h
deleted file mode 100644
index ab6b58d26..000000000
--- a/newlib/libc/sys/linux/sys/dirent.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/* libc/sys/linux/sys/dirent.h - Directory entry as returned by readdir */
-
-/* Written 2000 by Werner Almesberger */
-
-
-#ifndef _SYS_DIRENT_H
-#define _SYS_DIRENT_H
-
-#include <sys/types.h>
-#include <linux/dirent.h>
-
-#define HAVE_NO_D_NAMLEN /* no struct dirent->d_namlen */
-
-#define MAXNAMLEN 255 /* sizeof(struct dirent.d_name)-1 */
-
-
-typedef struct {
- int dd_fd; /* directory file */
- int dd_loc; /* position in buffer */
- int dd_seek;
- char *dd_buf; /* buffer */
- int dd_len; /* buffer length */
- int dd_size; /* amount of data in buffer */
-} DIR;
-
-
-#define __dirfd(dir) (dir)->dd_fd
-
-/* --- redundant --- */
-
-DIR *opendir(const char *);
-struct dirent *readdir(DIR *);
-void rewinddir(DIR *);
-int closedir(DIR *);
-
-/* internal prototype */
-void _seekdir(DIR *dir,off_t offset);
-
-#ifndef _POSIX_SOURCE
-long telldir (DIR *);
-void seekdir (DIR *, off_t loc);
-
-int scandir (const char *__dir,
- struct dirent ***__namelist,
- int (*select) (const struct dirent *),
- int (*compar) (const struct dirent **, const struct dirent **));
-
-int alphasort (const struct dirent **__a, const struct dirent **__b);
-#endif /* _POSIX_SOURCE */
-
-#endif