about summary refs log tree commit diff
path: root/dirent/dirent.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-10-03 20:44:20 +0000
committerJakub Jelinek <jakub@redhat.com>2005-10-03 20:44:20 +0000
commita5a11654ea5ea89bfffb295fbb2f17cbb45839b6 (patch)
tree2078fd7b828ae3b4c030e6722c53bdc81542a511 /dirent/dirent.h
parent6543cff055c298ea3ec718b356f6c2115e8797ae (diff)
downloadglibc-a5a11654ea5ea89bfffb295fbb2f17cbb45839b6.tar.gz
glibc-a5a11654ea5ea89bfffb295fbb2f17cbb45839b6.tar.xz
glibc-a5a11654ea5ea89bfffb295fbb2f17cbb45839b6.zip
Updated to fedora-glibc-20051003T2040
Diffstat (limited to 'dirent/dirent.h')
-rw-r--r--dirent/dirent.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/dirent/dirent.h b/dirent/dirent.h
index a5e8a004e2..ed4147dbca 100644
--- a/dirent/dirent.h
+++ b/dirent/dirent.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2000, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2000, 2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -134,6 +134,14 @@ typedef struct __dirstream DIR;
    marked with __THROW.  */
 extern DIR *opendir (__const char *__name) __nonnull ((1));
 
+#ifdef __USE_GNU
+/* Same as opendir, but open the stream on the file descriptor FD.
+
+   This function is a possible cancellation point and therefore not
+   marked with __THROW.  */
+extern DIR *fdopendir (int __fd);
+#endif
+
 /* Close the directory stream DIRP.
    Return 0 if successful, -1 if not.