aboutsummaryrefslogtreecommitdiff
path: root/io/Versions
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-06-05 08:56:41 +0000
committerRoland McGrath <roland@gnu.org>2002-06-05 08:56:41 +0000
commit7db20e36c819dc7b5973f724da43b778321ea62e (patch)
treec955fdbff29c041d481f090d345cbe4fff7b0636 /io/Versions
parent17d7201a97152b459fad11291de16cf0e6485cfa (diff)
downloadglibc-7db20e36c819dc7b5973f724da43b778321ea62e.zip
glibc-7db20e36c819dc7b5973f724da43b778321ea62e.tar.gz
glibc-7db20e36c819dc7b5973f724da43b778321ea62e.tar.bz2
* io/Makefile (routines): Add sendfile and sendfile64.
(headers): Add sys/sendfile.h to the list. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it here. * sysdeps/unix/sysv/linux/sys/sendfile.h: Moved to ... * io/sys/sendfile.h: ... here. * sysdeps/generic/sendfile.c: New file. * sysdeps/generic/sendfile64.c: New file. * sysdeps/unix/sysv/linux/Versions (GLIBC_2.1, GLIBC_2.3): Move sendfile, sendfile64 to ... * io/Versions (GLIBC_2.1, GLIBC_2.3): ... here. * sysdeps/mach/hurd/sendfile.c: New file. * sysdeps/mach/hurd/sendfile64.c: New file. * sysdeps/mach/nanosleep.c: New file.
Diffstat (limited to 'io/Versions')
-rw-r--r--io/Versions5
1 files changed, 5 insertions, 0 deletions
diff --git a/io/Versions b/io/Versions
index eaf25d7..b5626f3 100644
--- a/io/Versions
+++ b/io/Versions
@@ -76,6 +76,7 @@ libc {
open64;
# s*
+ sendfile;
statfs64; statvfs; statvfs64;
}
GLIBC_2.2 {
@@ -84,6 +85,10 @@ libc {
__open64;
}
+ GLIBC_2.3 {
+ # s*
+ sendfile64;
+ }
GLIBC_PRIVATE {
# functions which have an additional interface since they are
# cancelable.