Fix a lot of man7 links to be more specific.
Bug: https://github.com/android/ndk/issues/2113
Change-Id: Ifc3add91c39422985c63e895dc32443b8f736c9d
diff --git a/libc/include/dirent.h b/libc/include/dirent.h
index 8058cfb..aecaca6 100644
--- a/libc/include/dirent.h
+++ b/libc/include/dirent.h
@@ -87,7 +87,7 @@
#define d_fileno d_ino
-/** The structure returned by opendir()/fopendir(). */
+/** The structure returned by opendir()/fdopendir(). */
typedef struct DIR DIR;
/**
@@ -99,7 +99,7 @@
DIR* _Nullable opendir(const char* _Nonnull __path);
/**
- * [fopendir(3)](https://man7.org/linux/man-pages/man3/opendir.3.html)
+ * [fdopendir(3)](https://man7.org/linux/man-pages/man3/fdopendir.3.html)
* opens a directory stream for the directory at `__dir_fd`.
*
* Returns null and sets `errno` on failure.