Displaying 2 results from an estimated 2 matches for "_io_dir".
Did you mean:
io_dir
2011 Aug 10
1
[PATCH v2] dirent.h add fdopendir()
...changed, 75 insertions(+), 1 deletions(-)
create mode 100644 usr/klibc/fdopendir.c
create mode 100644 usr/klibc/tests/fdopendir.c
diff --git a/usr/include/dirent.h b/usr/include/dirent.h
index 725452e..bc08c5c 100644
--- a/usr/include/dirent.h
+++ b/usr/include/dirent.h
@@ -23,6 +23,7 @@ struct _IO_dir {
typedef struct _IO_dir DIR;
__extern DIR *opendir(const char *);
+__extern DIR *fdopendir(int);
__extern struct dirent *readdir(DIR *);
__extern int closedir(DIR *);
static __inline__ int dirfd(DIR * __d)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index c4f9ae2..48575a5 100644
--- a/...
2004 Sep 11
1
[PATCH] fchdir syscall, opendir function
...t, dev_t)
int chmod(const char *, mode_t)
diff -purNx linux ../klibc-0.172/klibc/include/dirent.h ./klibc/include/dirent.h
--- ../klibc-0.172/klibc/include/dirent.h 2002-08-11 06:35:43.000000000 +0200
+++ ./klibc/include/dirent.h 2004-09-11 20:57:27.268620024 +0200
@@ -16,5 +16,6 @@ typedef struct _IO_dir DIR;
__extern DIR *opendir(const char *);
__extern struct dirent *readdir(DIR *);
__extern int closedir(DIR *);
+__extern int dirfd (DIR *);
#endif /* _DIRENT_H */
diff -purNx linux ../klibc-0.172/klibc/include/unistd.h ./klibc/include/unistd.h
--- ../klibc-0.172/klibc/include/unistd.h 2004-0...