Mail Archives: djgpp-workers/1999/01/30/06:45:40
So what should the new seek() be called?
Eli once said:
> - You probably cannot change the definition of off_t (to something
> wider than 32 bits) easily without breaking too many things. So a
> new function, like _llseek (a-la Linux) or something like that is
> probably in order. I suggest to make sure _llseek falls back to
> lseek with non-FAT32 drives, so that libc functions could use it
> internally without too much logic involved.
For those who know about the mess with the extended seek() in glibc2,
there's something we shouldn't mimic. They didn't prototype it but
autoconf detected it and C defaults to int if no prototype...
Is the name _llseek() good enough?
Scooter, No Time to Chill,
MartinS
- Raw text -