mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-12 19:04:54 +03:00
misc: Add support for Linux uio.h RWF_ATOMIC flag
Linux 6.11 adds the new flag for pwritev2 (commit c34fc6f26ab86d03a2d47446f42b6cd492dfdc56). Checked on x86_64-linux-gnu on 6.11 kernel. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
@@ -48,6 +48,8 @@ extern ssize_t process_vm_writev (pid_t __pid, const struct iovec *__lvec,
|
||||
#define RWF_NOWAIT 0x00000008 /* per-IO nonblocking mode. */
|
||||
#define RWF_APPEND 0x00000010 /* per-IO O_APPEND. */
|
||||
#define RWF_NOAPPEND 0x00000020 /* per-IO negation of O_APPEND */
|
||||
#define RWF_ATOMIC 0x00000040 /* Write is to be issued with torn-write
|
||||
prevention. */
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user