diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-08 07:13:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-08 07:13:42 +0000 |
commit | 279eb600d98131197c732147621e96c2d019bc52 (patch) | |
tree | 3baa23d794f7b13cc777448588187b5a183c2daf /posix/unistd.h | |
parent | 3c720987c599927e9a8764b9362e4751c00ec1b1 (diff) | |
download | glibc-279eb600d98131197c732147621e96c2d019bc52.zip glibc-279eb600d98131197c732147621e96c2d019bc52.tar.gz glibc-279eb600d98131197c732147621e96c2d019bc52.tar.bz2 |
Update.
1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
stat64.
(_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
functions.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
for __llseek.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
make it a weak alias.
* posix/unistd.h: Declare __lseek64.
* libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
(_IO_file_stat): Fix typo.
(_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
block size from the file. Use __mempcpy if _LIBC.
Diffstat (limited to 'posix/unistd.h')
-rw-r--r-- | posix/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index 632f24d..1555f07 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -270,6 +270,7 @@ extern int euidaccess __P ((__const char *__name, int __type)); or the end of the file (if WHENCE is SEEK_END). Return the new file position. */ extern __off_t __lseek __P ((int __fd, __off_t __offset, int __whence)); +extern __off64_t __lseek64 __P ((int __fd, __off64_t __offset, int __whence)); #ifndef __USE_FILE_OFFSET64 extern __off_t lseek __P ((int __fd, __off_t __offset, int __whence)); #else |