]> git.saurik.com Git - apple/libc.git/blobdiff - include/dirent.h
Libc-1044.1.2.tar.gz
[apple/libc.git] / include / dirent.h
index b52baae158451cf62168b81a5b7c44c7ba2e4399..bd84e6d2c63341509b1b64c0b421bc94a33fd9dc 100644 (file)
@@ -162,6 +162,17 @@ __END_DECLS
 #if __DARWIN_C_LEVEL >= 200809L
 __BEGIN_DECLS
 
+//Begin-Libc
+#ifndef LIBC_ALIAS_OPENDIR
+//End-Libc
+__OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0)
+DIR *fdopendir(int) __DARWIN_ALIAS_I(fdopendir);
+//Begin-Libc
+#else /* LIBC_ALIAS_OPENDIR */
+DIR *fdopendir(int) LIBC_ALIAS_I(fdopendir);
+#endif /* !LIBC_ALIAS_OPENDIR */
+//End-Libc
+
 int alphasort(const struct dirent **, const struct dirent **) __DARWIN_INODE64(alphasort);
 
 #if (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_8) || (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0)