]> sourceware.org Git - glibc.git/commitdiff
(O_RSYNC, O_DSYNC): Define.
authorUlrich Drepper <drepper@redhat.com>
Thu, 5 Aug 1999 16:56:44 +0000 (16:56 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 5 Aug 1999 16:56:44 +0000 (16:56 +0000)
sysdeps/unix/sysv/linux/alpha/bits/fcntl.h

index 9f90ddf57c2663fd6330709315a46ce394b067e6..1ed994412459d884b4dfb3c5f952273af45b71ea 100644 (file)
@@ -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
 /* 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.  */
This page took 0.044562 seconds and 5 git commands to generate.