patch-2.1.118 linux/include/asm-i386/fcntl.h
Next file: linux/include/asm-i386/fixmap.h
Previous file: linux/include/asm-arm/uaccess.h
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Tue Aug 25 14:19:30 1998
- Orig file:
v2.1.117/linux/include/asm-i386/fcntl.h
- Orig date:
Thu Aug 20 17:05:18 1998
diff -u --recursive --new-file v2.1.117/linux/include/asm-i386/fcntl.h linux/include/asm-i386/fcntl.h
@@ -3,19 +3,21 @@
/* open/fcntl - O_SYNC is only implemented on blocks devices and on files
located on an ext2 file system */
-#define O_ACCMODE 0003
-#define O_RDONLY 00
-#define O_WRONLY 01
-#define O_RDWR 02
-#define O_CREAT 0100 /* not fcntl */
-#define O_EXCL 0200 /* not fcntl */
-#define O_NOCTTY 0400 /* not fcntl */
-#define O_TRUNC 01000 /* not fcntl */
-#define O_APPEND 02000
-#define O_NONBLOCK 04000
+#define O_ACCMODE 0003
+#define O_RDONLY 00
+#define O_WRONLY 01
+#define O_RDWR 02
+#define O_CREAT 0100 /* not fcntl */
+#define O_EXCL 0200 /* not fcntl */
+#define O_NOCTTY 0400 /* not fcntl */
+#define O_TRUNC 01000 /* not fcntl */
+#define O_APPEND 02000
+#define O_NONBLOCK 04000
#define O_NDELAY O_NONBLOCK
-#define O_SYNC 010000
-#define FASYNC 020000 /* fcntl, for BSD compatibility */
+#define O_SYNC 010000
+#define FASYNC 020000 /* fcntl, for BSD compatibility */
+#define O_DIRECT 040000 /* direct disk access hint - currently ignored */
+#define O_LARGEFILE 0100000
#define F_DUPFD 0 /* dup */
#define F_GETFD 1 /* get f_flags */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov