diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-09-28 21:19:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-09-28 21:19:53 +0000 |
commit | 1812d50bc9ad034c8406f5e3de83b5a6c668f3a9 (patch) | |
tree | 54c88f0ffa5e7ccdece3941a630f5c19f59d3f70 /include | |
parent | a898514259e9fef06feddbe74df4d11fb94baf66 (diff) | |
download | glibc-1812d50bc9ad034c8406f5e3de83b5a6c668f3a9.tar.gz glibc-1812d50bc9ad034c8406f5e3de83b5a6c668f3a9.tar.xz glibc-1812d50bc9ad034c8406f5e3de83b5a6c668f3a9.zip |
* dirent/dirent.h: Declare fdopendir.
* dirent/Versions: Export fdopendir for GLIBC_2.4. * dirent/Makefile (routines): Add fdopendir. (tests): Add tst-fdopendir. * dirent/tst-fdopendir.c: New file. * include/dirent.h: Declare __alloc_dir. * sysdeps/generic/fdopendir.c: New file. * sysdeps/unix/fdopendir.c: New file. * sysdeps/unix/opendir.c: Split off back part of opendir into new function __alloc_dir.
Diffstat (limited to 'include')
-rw-r--r-- | include/dirent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h index f09a88f21c..b040a042d3 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -1,6 +1,7 @@ #ifndef _DIRENT_H # include <dirstream.h> # include <dirent/dirent.h> +# include <sys/stat.h> /* Now define the internal interfaces. */ extern DIR *__opendir (__const char *__name); @@ -23,4 +24,5 @@ extern int __alphasort64 (const void *a, const void *b) __attribute_pure__; extern int __versionsort64 (const void *a, const void *b) __attribute_pure__; +extern DIR *__alloc_dir (int fd, struct stat64 *statp) internal_function; #endif |