patch-2.4.0-test7 linux/include/asm-sparc/fcntl.h
Next file: linux/include/asm-sparc/md.h
Previous file: linux/include/asm-sparc/bitops.h
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Sun Aug 13 12:01:54 2000
- Orig file:
v2.4.0-test6/linux/include/asm-sparc/fcntl.h
- Orig date:
Mon Jul 10 16:47:27 2000
diff -u --recursive --new-file v2.4.0-test6/linux/include/asm-sparc/fcntl.h linux/include/asm-sparc/fcntl.h
@@ -1,4 +1,4 @@
-/* $Id: fcntl.h,v 1.13 2000/07/06 01:41:45 davem Exp $ */
+/* $Id: fcntl.h,v 1.14 2000/08/12 20:49:49 jj Exp $ */
#ifndef _SPARC_FCNTL_H
#define _SPARC_FCNTL_H
@@ -34,6 +34,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 */
@@ -58,6 +62,15 @@
short l_whence;
off_t l_start;
off_t l_len;
+ pid_t l_pid;
+ short __unused;
+};
+
+struct flock64 {
+ short l_type;
+ short l_whence;
+ loff_t l_start;
+ loff_t l_len;
pid_t l_pid;
short __unused;
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)