summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sparc/bits/fcntl.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-18 03:09:07 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-18 03:09:07 +0000
commit2ca268a71b555ca90fbea391b398c92bdf069c2a (patch)
treec1f7a1f94a85152acb065c0290bf77cc8942a00f /libc/sysdeps/linux/sparc/bits/fcntl.h
parent82a12113eb5986a659796adb2ff2875dae0db452 (diff)
downloaduClibc-alpine-2ca268a71b555ca90fbea391b398c92bdf069c2a.tar.bz2
uClibc-alpine-2ca268a71b555ca90fbea391b398c92bdf069c2a.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits/fcntl.h')
-rw-r--r--libc/sysdeps/linux/sparc/bits/fcntl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/fcntl.h b/libc/sysdeps/linux/sparc/bits/fcntl.h
index 5dc8bf32f..b7f46e403 100644
--- a/libc/sysdeps/linux/sparc/bits/fcntl.h
+++ b/libc/sysdeps/linux/sparc/bits/fcntl.h
@@ -1,5 +1,5 @@
/* O_*, F_*, FD_* bit values for Linux/SPARC.
- Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004
+ Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004, 2006
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -199,6 +199,12 @@ struct flock64
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
#endif
+/* Linux-specific operations for posix_fadvise. */
+#ifdef __USE_GNU
+# define LINUX_FADV_ASYNC_WRITE 32 /* Start writeout on range. */
+# define LINUX_FADV_WRITE_WAIT 33 /* Wait upon writeout to range. */
+#endif
+
__BEGIN_DECLS
/* Provide kernel hint to read ahead. */