svn commit: trunk/uClibc/libc/sysdeps/linux/x86_64/bits
vapier at uclibc.org
vapier at uclibc.org
Wed Jan 11 05:57:37 UTC 2006
Author: vapier
Date: 2006-01-10 21:57:36 -0800 (Tue, 10 Jan 2006)
New Revision: 13239
Log:
sync with glibc
Modified:
trunk/uClibc/libc/sysdeps/linux/x86_64/bits/fcntl.h
trunk/uClibc/libc/sysdeps/linux/x86_64/bits/mman.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/x86_64/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/x86_64/bits/fcntl.h 2006-01-11 05:55:43 UTC (rev 13238)
+++ trunk/uClibc/libc/sysdeps/linux/x86_64/bits/fcntl.h 2006-01-11 05:57:36 UTC (rev 13239)
@@ -193,3 +193,11 @@
# define POSIX_FADV_DONTNEED 4 /* Don't need these pages. */
# define POSIX_FADV_NOREUSE 5 /* Data will be accessed once. */
#endif
+
+__BEGIN_DECLS
+
+/* Provide kernel hint to read ahead. */
+extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
+ __THROW;
+
+__END_DECLS
Modified: trunk/uClibc/libc/sysdeps/linux/x86_64/bits/mman.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/x86_64/bits/mman.h 2006-01-11 05:55:43 UTC (rev 13238)
+++ trunk/uClibc/libc/sysdeps/linux/x86_64/bits/mman.h 2006-01-11 05:57:36 UTC (rev 13239)
@@ -1,5 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/x86_64 version.
- Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003, 2005, 2006 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
@@ -89,6 +89,7 @@
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
# define MADV_WILLNEED 3 /* Will need these pages. */
# define MADV_DONTNEED 4 /* Don't need these pages. */
+# define MADV_REMOVE 5 /* Remove these pages and resources. */
#endif
/* The POSIX people had to invent similar names for the same things. */
More information about the uClibc-cvs
mailing list