]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define O_DSYNC and O_RSYNC.
authorUlrich Drepper <drepper@redhat.com>
Tue, 17 Aug 1999 01:25:43 +0000 (01:25 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 17 Aug 1999 01:25:43 +0000 (01:25 +0000)
sysdeps/unix/sysv/linux/sparc/bits/fcntl.h

index e42dfefef6c178d423f15686905e4ab95c20d980..7c722a074bb0fb04fa7a0897050c6fea79346f4e 100644 (file)
 /* XXX missing */
 #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.  */