diff options
Diffstat (limited to 'include/asm-m68k/fcntl.h')
-rw-r--r-- | include/asm-m68k/fcntl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-m68k/fcntl.h b/include/asm-m68k/fcntl.h index 9738061b7..c0b273f68 100644 --- a/include/asm-m68k/fcntl.h +++ b/include/asm-m68k/fcntl.h @@ -35,6 +35,10 @@ #define F_SETSIG 10 /* for sockets. */ #define F_GETSIG 11 /* for sockets. */ +#define F_GETLK64 12 /* using 'struct flock64' */ +#define F_SETLK64 13 +#define F_SETLKW64 14 + /* for F_[GET|SET]FL */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ @@ -70,5 +74,13 @@ struct flock { pid_t l_pid; }; +struct flock64 { + short l_type; + short l_whence; + loff_t l_start; + loff_t l_len; + pid_t l_pid; +}; + #define F_LINUX_SPECIFIC_BASE 1024 #endif /* _M68K_FCNTL_H */ |