[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();
> 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.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the libc-commits