patch-2.1.126 linux/include/asm-mips/fcntl.h

Next file: linux/include/asm-mips/floppy.h
Previous file: linux/include/asm-mips/ds1286.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.125/linux/include/asm-mips/fcntl.h linux/include/asm-mips/fcntl.h
@@ -1,3 +1,11 @@
+/* $Id: fcntl.h,v 1.3 1998/08/29 20:41:02 ralf Exp $
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 1995, 1996, 1997, 1998 by Ralf Baechle
+ */
 #ifndef __ASM_MIPS_FCNTL_H
 #define __ASM_MIPS_FCNTL_H
 
@@ -15,6 +23,10 @@
 #define O_EXCL		0x0400	/* not fcntl */
 #define O_NOCTTY	0x0800	/* not fcntl */
 #define FASYNC		0x1000	/* fcntl, for BSD compatibility */
+#define O_LARGEFILE	0x2000	/* allow large file opens - currently ignored */
+#define O_NOFOLLOW	0x4000	/* Don't follow symbolic links */
+#define O_DIRECT	0x8000	/* direct disk access hint - currently ignored */
+#define O_DIRECTORY	0x10000	/* must be a directory */
 
 #define O_NDELAY	O_NONBLOCK
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov