>>>>> "Russell" == Russell King <- ARM Linux Admin <[EMAIL PROTECTED]>> writes:
Russell> Hanske;Stefan writes:
>> Here is what I get for a small llseek() test program using libc
>> with _FILE_OFFSET_BITS=64: file = fopen("/dev/zero","r"); offset =
>> llseek(file, 0x1000, SEEK_SET); printf("The offset is: %lld.\n",
>> offset);
>>
>> This is using gcc version 2.95.3 19991030 (prerelease)
Russell> Try compiling it with -Wall. You will get warnings. For
Russell> starters, llseek doesn't take a FILE * argument as the first
Russell> parameter. Secondly, it returns an "int".
I guess it's a naming error then -- because surely naming something
"llseek" when it doesn't return a "long long int" is a misleading
thing to do...
paul
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++