aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/fcntl.h')
-rw-r--r--include/asm-x86_64/fcntl.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/asm-x86_64/fcntl.h b/include/asm-x86_64/fcntl.h
index 4e800feddcf..c7b09ea97d3 100644
--- a/include/asm-x86_64/fcntl.h
+++ b/include/asm-x86_64/fcntl.h
@@ -1,27 +1,6 @@
1#ifndef _X86_64_FCNTL_H 1#ifndef _X86_64_FCNTL_H
2#define _X86_64_FCNTL_H 2#define _X86_64_FCNTL_H
3 3
4#define F_GETLK 5
5#define F_SETLK 6
6#define F_SETLKW 7
7
8#define F_SETOWN 8 /* for sockets. */
9#define F_GETOWN 9 /* for sockets. */
10#define F_SETSIG 10 /* for sockets. */
11#define F_GETSIG 11 /* for sockets. */
12
13/* for posix fcntl() and lockf() */
14#define F_RDLCK 0
15#define F_WRLCK 1
16#define F_UNLCK 2
17
18/* for old implementation of bsd flock () */
19#define F_EXLCK 4 /* or 3 */
20#define F_SHLCK 8 /* or 4 */
21
22/* for leases */
23#define F_INPROGRESS 16
24
25struct flock { 4struct flock {
26 short l_type; 5 short l_type;
27 short l_whence; 6 short l_whence;