]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Declare __libc_open64, __libc_lseek64, __libc_pread, __libc_pread64,
authorUlrich Drepper <drepper@redhat.com>
Sun, 19 Dec 1999 05:30:29 +0000 (05:30 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 19 Dec 1999 05:30:29 +0000 (05:30 +0000)
__libc_pwrite, and __libc_pwrite64.

include/unistd.h

index 955637e0fb5c05bafb17df0e1d20e87605948900..90105f1eb37086dd167d5e599647dded61b0535d 100644 (file)
@@ -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,