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

Unified Diff: ports/glibc-compat/include/sys/fcntl.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/sys/dirent.h ('k') | ports/glibc-compat/include/sys/stat.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/glibc-compat/include/sys/fcntl.h
diff --git a/ports/glibc-compat/include/sys/fcntl.h b/ports/glibc-compat/include/sys/fcntl.h
index cd4a27acee88739d480227bff0bef9fddd90ce63..3e95d9026c454f45e9130224c3fb2d6b742ffe5e 100644
--- a/ports/glibc-compat/include/sys/fcntl.h
+++ b/ports/glibc-compat/include/sys/fcntl.h
@@ -17,6 +17,10 @@ __BEGIN_DECLS
#define F_ULOCK 0
#define F_LOCK 1
#define F_TLOCK 2
+#define AT_EACCESS 1
+#define AT_SYMLINK_NOFOLLOW 2
+#define AT_SYMLINK_FOLLOW 4
+#define AT_REMOVEDIR 8
#if __BSD_VISIBLE
/* lock operations for flock(2) */
@@ -27,6 +31,7 @@ __BEGIN_DECLS
#endif
int lockf(int fd, int command, off_t size);
+int flock(int fd, int operation);
__END_DECLS
« no previous file with comments | « ports/glibc-compat/include/sys/dirent.h ('k') | ports/glibc-compat/include/sys/stat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698