diff options
author | rofl0r <retnyg@gmx.net> | 2012-12-06 21:43:00 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-12-06 21:43:00 +0100 |
commit | e34d967c3eaa81ba6224b85cf19d79c6479c2056 (patch) | |
tree | 4502acfb1b3e0774429d90855df69e48986b76e6 | |
parent | b6f75ab07f56a6ed3701231bd48601f3bc45dce5 (diff) | |
download | musl-e34d967c3eaa81ba6224b85cf19d79c6479c2056.tar.gz |
fixup for fcntl.h changes
-rw-r--r-- | include/fcntl.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/include/fcntl.h b/include/fcntl.h index d0c38bec..f73cd96a 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -108,22 +108,21 @@ int posix_fallocate(int, off_t, off_t); #define F_TLOCK 2 #define F_TEST 3 -#define F_LINUX_SPECIFIC_BASE 1024 -#define F_SETLEASE (F_LINUX_SPECIFIC_BASE + 0) -#define F_GETLEASE (F_LINUX_SPECIFIC_BASE + 1) -#define F_NOTIFY (F_LINUX_SPECIFIC_BASE + 2) -#define F_CANCELLK (F_LINUX_SPECIFIC_BASE + 5) -#define F_DUPFD_CLOEXEC (F_LINUX_SPECIFIC_BASE + 6) -#define F_SETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 7) -#define F_GETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 8) - -#define DN_ACCESS 0x00000001 -#define DN_MODIFY 0x00000002 -#define DN_CREATE 0x00000004 -#define DN_DELETE 0x00000008 -#define DN_RENAME 0x00000010 -#define DN_ATTRIB 0x00000020 -#define DN_MULTISHOT 0x80000000 +#define F_SETLEASE 1024 +#define F_GETLEASE 1025 +#define F_NOTIFY 1026 +#define F_CANCELLK 1029 +#define F_DUPFD_CLOEXEC 1030 +#define F_SETPIPE_SZ 1031 +#define F_GETPIPE_SZ 1032 + +#define DN_ACCESS 0x00000001 +#define DN_MODIFY 0x00000002 +#define DN_CREATE 0x00000004 +#define DN_DELETE 0x00000008 +#define DN_RENAME 0x00000010 +#define DN_ATTRIB 0x00000020 +#define DN_MULTISHOT 0x80000000 int lockf(int, int, off_t); #endif |