[libc-commits] [PATCH] D130459: [libc] Add dirent.h functions opendir, readdir, closedir and dirfd.
Siva Chandra via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Jul 25 10:07:32 PDT 2022
sivachandra added inline comments.
================
Comment at: libc/src/__support/File/dir.h:61
+
+ struct dirent *read();
+
----------------
lntue wrote:
> Is there ambiguity anywhere that `dirent` requires the `struct` keyword everywhere?
To make it absolutely clear that we are dealing with the public C `struct dirent`, I have uniformly used `struct ::dirent` everywhere.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130459/new/
https://reviews.llvm.org/D130459
More information about the libc-commits
mailing list