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

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: 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
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..e5f97ad9831454f6292e7ad239f46503f86ecec1 100644
--- a/ports/glibc-compat/include/sys/fcntl.h
+++ b/ports/glibc-compat/include/sys/fcntl.h
@@ -17,6 +17,8 @@ __BEGIN_DECLS
#define F_ULOCK 0
#define F_LOCK 1
#define F_TLOCK 2
+#define AT_SYMLINK_NOFOLLOW 2
+#define AT_REMOVEDIR 8
#if __BSD_VISIBLE
/* lock operations for flock(2) */
@@ -27,6 +29,7 @@ __BEGIN_DECLS
#endif
int lockf(int fd, int command, off_t size);
+int flock(int fd, int operation);
__END_DECLS

Powered by Google App Engine
This is Rietveld 408576698