diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-04-14 17:22:29 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-10-16 14:19:23 -0300 |
commit | 30d2e4a963db0b3fdb1aa2cf2e2942c7a62d6649 (patch) | |
tree | 11a922ac445de129cefcf9625188226ee33b03b3 /include/dirent.h | |
parent | 4b962c9e859de23b461d61f860dbd3f21311e83a (diff) | |
download | glibc-30d2e4a963db0b3fdb1aa2cf2e2942c7a62d6649.tar.gz glibc-30d2e4a963db0b3fdb1aa2cf2e2942c7a62d6649.tar.xz glibc-30d2e4a963db0b3fdb1aa2cf2e2942c7a62d6649.zip |
linux: Add __readdir_unlocked
And use it on readdir_r implementation. Checked on i686-linux-gnu.
Diffstat (limited to 'include/dirent.h')
-rw-r--r-- | include/dirent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h index fdf4c4a2f1..8325a19e5f 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -20,6 +20,7 @@ extern DIR *__opendirat (int dfd, const char *__name) attribute_hidden; extern DIR *__fdopendir (int __fd) attribute_hidden; extern int __closedir (DIR *__dirp) attribute_hidden; extern struct dirent *__readdir (DIR *__dirp) attribute_hidden; +extern struct dirent *__readdir_unlocked (DIR *__dirp) attribute_hidden; extern struct dirent64 *__readdir64 (DIR *__dirp); libc_hidden_proto (__readdir64) extern int __readdir_r (DIR *__dirp, struct dirent *__entry, |