svn commit: trunk/uClibc/libc/sysdeps/linux/cris/bits
pkj at uclibc.org
pkj at uclibc.org
Tue May 30 08:15:30 UTC 2006
Author: pkj
Date: 2006-05-30 01:15:30 -0700 (Tue, 30 May 2006)
New Revision: 15230
Log:
Sync with glibc.
Modified:
trunk/uClibc/libc/sysdeps/linux/cris/bits/fcntl.h
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/cris/bits/fcntl.h
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/cris/bits/fcntl.h 2006-05-30 08:14:43 UTC (rev 15229)
+++ trunk/uClibc/libc/sysdeps/linux/cris/bits/fcntl.h 2006-05-30 08:15:30 UTC (rev 15230)
@@ -1,5 +1,6 @@
/* O_*, F_*, FD_* bit values for Linux.
- Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2004
+ 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
@@ -45,7 +46,7 @@
# define O_DIRECT 040000 /* Direct disk access. */
# define O_DIRECTORY 0200000 /* Must be a directory. */
# define O_NOFOLLOW 0400000 /* Do not follow links. */
-# define O_STREAMING 04000000/* streaming access */
+# define O_NOATIME 01000000 /* Do not set atime. */
#endif
/* For now Linux has synchronisity options for data and read operations.
@@ -79,7 +80,7 @@
#define F_SETLK64 13 /* Set record locking info (non-blocking). */
#define F_SETLKW64 14 /* Set record locking info (blocking). */
-#if defined __USE_BSD || defined __USE_XOPEN2K
+#if defined __USE_BSD || defined __USE_UNIX98
# define F_SETOWN 8 /* Get owner of socket (receiver of SIGIO). */
# define F_GETOWN 9 /* Set owner of socket (receiver of SIGIO). */
#endif
@@ -178,3 +179,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
More information about the uClibc-cvs
mailing list