Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Unified Diff: ports/glibc-compat/include/sys/dirent.h

Issue 1260083004: Add needed functions to glibc-compat for pkg (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: fix wrong c++ lib Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/glibc-compat/include/fts.h ('k') | ports/glibc-compat/include/sys/fcntl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/glibc-compat/include/sys/dirent.h
diff --git a/ports/glibc-compat/include/sys/dirent.h b/ports/glibc-compat/include/sys/dirent.h
index 726da2ec7fb4635ba8ab84e9ba24829e32c4d6a1..910070d8b5962f5f5ae1d1a04b98350128f4098d 100644
--- a/ports/glibc-compat/include/sys/dirent.h
+++ b/ports/glibc-compat/include/sys/dirent.h
@@ -14,7 +14,13 @@
__BEGIN_DECLS
#endif
+int dirfd(DIR *dirp);
int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result);
+int alphasort(const void *a, const void *b);
+int scandir(const char *dirp, struct dirent ***namelist,
+ int (*filter)(const struct dirent *),
+ int (*compar)(const struct dirent **, const struct dirent **));
+DIR *fdopendir(int fd);
/* Work around a dirent.h wrapping includes in extern "C". */
#if defined(_DIRENT_H_)
« no previous file with comments | « ports/glibc-compat/include/fts.h ('k') | ports/glibc-compat/include/sys/fcntl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698