From: Ulrich Drepper Date: Sun, 19 Dec 1999 05:30:29 +0000 (+0000) Subject: Declare __libc_open64, __libc_lseek64, __libc_pread, __libc_pread64, X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f78db81be9445bab92a7ded68ce840aeae1d446;p=thirdparty%2Fglibc.git Declare __libc_open64, __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64. --- diff --git a/include/unistd.h b/include/unistd.h index 955637e0fb5..90105f1eb37 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -4,11 +4,21 @@ /* Now define the internal interfaces. */ extern int __access __P ((__const char *__name, int __type)); extern int __euidaccess __P ((__const char *__name, int __type)); +extern int __libc_open64 (const char *file, int oflag, ...); extern __off64_t __lseek64 __P ((int __fd, __off64_t __offset, int __whence)); +extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence); extern ssize_t __pread __P ((int __fd, __ptr_t __buf, size_t __nbytes, __off_t __offset)); +extern ssize_t __libc_pread (int __fd, void *__buf, size_t __nbytes, + __off_t __offset); +extern ssize_t __libc_pread64 (int __fd, void *__buf, size_t __nbytes, + __off64_t __offset); extern ssize_t __pwrite __P ((int __fd, __const __ptr_t __buf, size_t __n, __off_t __offset)); +extern ssize_t __libc_pwrite (int __fd, __const void *__buf, size_t __n, + __off_t __offset); +extern ssize_t __libc_pwrite64 (int __fd, __const void *__buf, size_t __n, + __off64_t __offset); extern int __pipe __P ((int __pipedes[2])); extern unsigned int __sleep __P ((unsigned int __seconds)); extern int __chown __P ((__const char *__file,