summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-05 16:58:38 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-05 16:58:38 +0000
commitb85f2e879f222f6fdb1c189bc061a9e1b94dc39a (patch)
treeecc0017e99ba0f36655bd3804edfb4792d663dfc /sysdeps
parent4a900f3be379e80974edea380952ee3e50ec3e1e (diff)
downloadglibc-b85f2e879f222f6fdb1c189bc061a9e1b94dc39a.tar.gz
glibc-b85f2e879f222f6fdb1c189bc061a9e1b94dc39a.tar.xz
glibc-b85f2e879f222f6fdb1c189bc061a9e1b94dc39a.zip
Update.
1999-08-05  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_RSYNC, O_DSYNC):
	Define.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/fcntl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
index 9f90ddf57c..1ed9944124 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
@@ -1,5 +1,5 @@
 /* O_*, F_*, FD_* bit values for Linux.
-   Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -52,6 +52,14 @@
 /* Not necessary, files are always with 64bit off_t.  */
 #define O_LARGEFILE	0
 
+/* For now Linux has synchronisity options for data and read operations.
+   We define the symbols here but let them do the same as O_SYNC since
+   this is a superset.  */
+#if defined __USE_POSIX199309 || defined __USE_UNIX98
+# define O_DSYNC	O_SYNC	/* Synchronize data.  */
+# define O_RSYNC	O_SYNC	/* Synchronize read operations.  */
+#endif
+
 /* Values for the second argument to `fcntl'.  */
 #define F_DUPFD		0	/* Duplicate file descriptor.  */
 #define F_GETFD		1	/* Get file descriptor flags.  */