In message <[EMAIL PROTECTED]>, "
Hanske;Stefan" writes:
>Here is what I get for a small llseek() test program using libc with
>_FILE_OFFSET_BITS=64:
>
>#include <sys/types.h>
>#include <stdio.h>
>
>int main() {
>        FILE * file;
>        loff_t offset;
>
>        file = fopen("/dev/zero","r");
>        offset = llseek(file, 0x1000, SEEK_SET);

You need lseek (which is actually lseek64 when _FILE_OFFSET_BITS=64), not 
llseek.  The latter has no prototype; if you really must use it you will need 
to provide your own declaration.

p.



unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to