aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-16 08:10:06 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-16 08:10:06 +0000
commitf38afd7875ba05ee6f87799d6cbe3d8d799d2d18 (patch)
tree38c21ed138cd1ca3f279fe73d864ea0d341ace08 /io
parentbfef9264665ff93866882402a71c116cd0757de1 (diff)
downloadglibc-f38afd7875ba05ee6f87799d6cbe3d8d799d2d18.tar
glibc-f38afd7875ba05ee6f87799d6cbe3d8d799d2d18.tar.gz
glibc-f38afd7875ba05ee6f87799d6cbe3d8d799d2d18.tar.bz2
glibc-f38afd7875ba05ee6f87799d6cbe3d8d799d2d18.zip
Update.
* sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.3.3]: Add posix_fadvise64. * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (subdir_routines): Add posix_fadvise64_64.
Diffstat (limited to 'io')
-rw-r--r--io/Versions3
-rw-r--r--io/fcntl.h6
2 files changed, 3 insertions, 6 deletions
diff --git a/io/Versions b/io/Versions
index 9e035aecc7..88f3a9ac04 100644
--- a/io/Versions
+++ b/io/Versions
@@ -93,9 +93,6 @@ libc {
# l*
lchmod;
}
- GLIBC_2.3.3 {
- posix_fadvise64;
- }
GLIBC_PRIVATE {
# functions which have an additional interface since they are
# cancelable.
diff --git a/io/fcntl.h b/io/fcntl.h
index 77f002b66b..97ef27b735 100644
--- a/io/fcntl.h
+++ b/io/fcntl.h
@@ -134,19 +134,19 @@ extern int lockf64 (int __fd, int __cmd, __off64_t __len) __THROW;
/* Advice the system about the expected behaviour of the application with
respect to the file associated with FD. */
# ifndef __USE_FILE_OFFSET64
-extern int posix_fadvise (int __fd, __off_t __offset, off_t __len,
+extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len,
int __advise) __THROW;
# else
# ifdef __REDIRECT
extern int __REDIRECT (posix_fadvise, (int __fd, __off64_t __offset,
- off64_t __len, int __advise) __THROW,
+ __off64_t __len, int __advise) __THROW,
posix_fadvise64);
# else
# define posix_fadvise posix_fadvise64
# endif
# endif
# ifdef __USE_LARGEFILE64
-extern int posix_fadvise64 (int __fd, __off64_t __offset, off64_t __len,
+extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len,
int __advise) __THROW;
# endif