mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Define LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
/* O_*, F_*, FD_* bit values for Linux.
|
/* O_*, F_*, FD_* bit values for Linux.
|
||||||
Copyright (C) 1995-1999, 2000, 2004, 2005 Free Software Foundation, Inc.
|
Copyright (C) 1995-2000, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -173,6 +173,12 @@ struct flock64
|
|||||||
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
||||||
#endif
|
#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
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Provide kernel hint to read ahead. */
|
/* Provide kernel hint to read ahead. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* O_*, F_*, FD_* bit values for Linux.
|
/* O_*, F_*, FD_* bit values for Linux.
|
||||||
Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004
|
Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004, 2006
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@ -180,6 +180,12 @@ struct flock64
|
|||||||
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
||||||
#endif
|
#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
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Provide kernel hint to read ahead. */
|
/* Provide kernel hint to read ahead. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* O_*, F_*, FD_* bit values for Linux/IA64.
|
/* O_*, F_*, FD_* bit values for Linux/IA64.
|
||||||
Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2000, 2004, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -174,6 +174,12 @@ struct flock64
|
|||||||
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
||||||
#endif
|
#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
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Provide kernel hint to read ahead. */
|
/* Provide kernel hint to read ahead. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* O_*, F_*, FD_* bit values for Linux/PowerPC.
|
/* O_*, F_*, FD_* bit values for Linux/PowerPC.
|
||||||
Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004
|
Copyright (C) 1995, 1996, 1997, 1998, 2000, 2003, 2004, 2006
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@ -180,6 +180,12 @@ struct flock64
|
|||||||
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
||||||
#endif
|
#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
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Provide kernel hint to read ahead. */
|
/* Provide kernel hint to read ahead. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* O_*, F_*, FD_* bit values for Linux.
|
/* O_*, F_*, FD_* bit values for Linux.
|
||||||
Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001, 2002, 2004, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -199,6 +199,12 @@ struct flock64
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#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
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Provide kernel hint to read ahead. */
|
/* Provide kernel hint to read ahead. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* O_*, F_*, FD_* bit values for Linux.
|
/* O_*, F_*, FD_* bit values for Linux.
|
||||||
Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004
|
Copyright (C) 1995, 1996, 1997, 1998, 2000, 2004, 2006
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@ -180,6 +180,12 @@ struct flock64
|
|||||||
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
||||||
#endif
|
#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
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Provide kernel hint to read ahead. */
|
/* Provide kernel hint to read ahead. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* O_*, F_*, FD_* bit values for Linux/SPARC.
|
/* 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.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
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. */
|
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
||||||
#endif
|
#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
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Provide kernel hint to read ahead. */
|
/* Provide kernel hint to read ahead. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* O_*, F_*, FD_* bit values for Linux/x86-64.
|
/* O_*, F_*, FD_* bit values for Linux/x86-64.
|
||||||
Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
|
Copyright (C) 2001, 2002, 2004, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -194,6 +194,12 @@ struct flock64
|
|||||||
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
|
||||||
#endif
|
#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
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Provide kernel hint to read ahead. */
|
/* Provide kernel hint to read ahead. */
|
||||||
|
Reference in New Issue
Block a user