mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-09 10:50:08 +00:00
Define O_DSYNC and O_RSYNC in generic/4.4 bits/fcntl.h file.
This commit is contained in:
parent
952bf94a28
commit
e04e272d21
@ -1,5 +1,8 @@
|
|||||||
2012-08-15 Roland McGrath <roland@hack.frob.com>
|
2012-08-15 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
|
||||||
|
(O_DSYNC, O_RSYNC): New macros (with NetBSD values).
|
||||||
|
|
||||||
* misc/lseek.c: File moved to ...
|
* misc/lseek.c: File moved to ...
|
||||||
* io/lseek.c: ... here.
|
* io/lseek.c: ... here.
|
||||||
|
|
||||||
|
@ -44,6 +44,10 @@
|
|||||||
# define O_NOFOLLOW 0x00000100 /* Do not follow links. */
|
# define O_NOFOLLOW 0x00000100 /* Do not follow links. */
|
||||||
# define O_CLOEXEC 0x00400000 /* Set close_on_exec. */
|
# define O_CLOEXEC 0x00400000 /* Set close_on_exec. */
|
||||||
#endif
|
#endif
|
||||||
|
#if defined __USE_POSIX199309 || defined __USE_UNIX98
|
||||||
|
# define O_DSYNC 0x00010000 /* Synchronize data. */
|
||||||
|
# define O_RSYNC 0x00020000 /* Synchronize read operations. */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* All opens support large file sizes, so there is no flag bit for this. */
|
/* All opens support large file sizes, so there is no flag bit for this. */
|
||||||
#ifdef __USE_LARGEFILE64
|
#ifdef __USE_LARGEFILE64
|
||||||
|
Loading…
Reference in New Issue
Block a user