Browse Source

On Thu Dec 16, 2004 at 03:49:31PM +0100, Johan Adolfsson wrote:
> What's the correct way of calling llseek/_llseek?
> The manpage I have indicates _llseek and thats what the version of
> util-linux
> I tried use as well so compiling for uClibc fails.
> Would the following patch fix it or is it the apps that needs fixing?

Eric Andersen 20 years ago
parent
commit
1c8d7ee9cb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libc/sysdeps/linux/common/llseek.c

+ 1 - 0
libc/sysdeps/linux/common/llseek.c

@@ -56,6 +56,7 @@ loff_t __libc_lseek64(int fd, loff_t offset, int whence)
 	return(loff_t)(__libc_lseek(fd, (off_t) (offset & 0xffffffff), whence));
 }
 #endif
+weak_alias(__libc_lseek64, _llseek);
 weak_alias(__libc_lseek64, llseek);
 weak_alias(__libc_lseek64, lseek64);