LFS/syscalls -> Kernel interface incompatibility
Andreas Jaeger
aj@suse.de
Fri May 26 07:47:00 GMT 2000
>>>>> Ulrich Drepper writes:
Uli> Andreas Jaeger <aj@suse.de> writes:
>> I've one design question: In case of such problems do we put little
>> endian or big endian files in sysdeps/unix/sysv/linux?
>>
>> Currently we have there for example:
>> - ftruncate64 that works for little endian
>> - pread64 that works for big endian
Uli> I agree with this. It is better to be consistent.
So, what's the policy? Big or little? - and I would even like to use:
#if __BYTE_ORDER == __LITTLE_ENDIAN
#elif __BYTE_ORDER == __BIG_ENDIAN
#else
#error "..."
#endif
I'll send a patch later for pread64.c to show what I mean.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
More information about the Libc-hacker
mailing list