patch-2.4.0-test12 linux/include/asm-m68k/fcntl.h
Next file: linux/include/asm-m68k/keyboard.h
Previous file: linux/include/asm-m68k/entry.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Nov 27 18:00:49 2000
- Orig file:
v2.4.0-test11/linux/include/asm-m68k/fcntl.h
- Orig date:
Sun Oct 8 10:50:35 2000
diff -u --recursive --new-file v2.4.0-test11/linux/include/asm-m68k/fcntl.h linux/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 */
@@ -68,6 +72,14 @@
off_t l_start;
off_t l_len;
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
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)