This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lseek64 on arm


On 8/6/07, Bridge Wu <mingqiao.wu@gmail.com> wrote:> Hello,
> I just went through glibc-2.5 with glibc-ports-2.5 code. It seemed it
> did not support lseek64 on arm. Suppose we have a file whose size is
> larger than 4GB, how do we access it? lseek64 always return -1 since
> it is not supported by arm tool chain.

IIRC the function lseek64 is a weak alias for llseek. Please see
sysdeps/unix/sysv/linux/llseek.c for the definition of llseek. The
kernel you use must implement the _llseek syscall.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]