From d369ad760d0a2bc585cb5b076a67d565573ee915 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 12 Feb 2006 21:41:44 +0000 Subject: [BZ #2226] 2006-02-12 Ulrich Drepper * io/ftw.c: Start using *at functions. * io/ftw64.c: Likewise. * sysdeps/generic/not-cancel.h: Define openat_not_cancel, openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3. * sysdeps/unix/sysv/linux/not-cancel.h: Likewise. * sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel functions. * io/fxstatat.c: Add __fxstatat alias. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. Add support for newfstatat syscall. * sysdeps/unix/sysv/linux/i386/fxstatat.c: Add __fxstatat alias. Add support for fstatat64 syscall. * include/sys/stat.h: Declare __fxstatat. * io/fxstatat64.c: Add __fxstatat64 alias. * sysdeps/unix/sysv/linux/fxstatat64.c: Add support for fstatat64 syscall. * dirent/fdopendir.c: Add __fdopendir alias. * sysdeps/unix/fdopendir.c: Likewise. * sysdeps/mach/hurd/fdopendir.c: Likewise. * include/dirent.h: Add __fdopendir declaration. [BZ #2226] * libio/wgenops.c (_IO_wsetb): Use correct size of wide char buffer in FREE_BUF call. --- include/dirent.h | 2 ++ include/sys/stat.h | 1 + 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/dirent.h b/include/dirent.h index 681024f..8f23aee 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -6,6 +6,7 @@ /* Now define the internal interfaces. */ extern DIR *__opendir (__const char *__name); +extern DIR *__fdopendir (int __fd); extern int __closedir (DIR *__dirp); extern struct dirent *__readdir (DIR *__dirp); extern struct dirent64 *__readdir64 (DIR *__dirp); @@ -27,4 +28,5 @@ extern int __versionsort64 (const void *a, const void *b) __attribute_pure__; extern DIR *__alloc_dir (int fd, bool close_fd, const struct stat64 *statp) internal_function; + #endif diff --git a/include/sys/stat.h b/include/sys/stat.h index 72105a4..66898b1 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -31,6 +31,7 @@ extern __inline__ int __mknod (__const char *__path, __mode_t __mode, } libc_hidden_proto (__xmknodat) +libc_hidden_proto (__fxstatat) libc_hidden_proto (__fxstatat64) -- cgit v1.1