Just remembered this thread. This doesn't really apply to file-target
really but it'd be good to remember for anyone reading/writing image libs.
Of course a good solution for image libs is to support reading from stdin
and writing to stdout :)
[the calling proggy can deal with the probs.. :]
On Fri, 4 Feb 2000, Christian Reiniger wrote:
> teunis wrote:
> >Oh yeah, and you can support 64bit access too. For files >2GB in size :)
>
> If stdio & the underlying FS don't support 64bit access, then it doesn't
> make much sense to use it anyway. After all, where do you want to store
> these 2GB? ;)
Well, to take the linux/x86 example:
ext2fs [afaik] does support >2GB files...
stdio does -not- support 64bit access
There's a suite of calls to talk to >2GB files with 64bit access.
-> 64bit file access is a special case on intel architecture;
afaik Alpha/linux had it first as native for linux...
-> glibc 2.0+ has 64bit support...
I haven't tested 'stdio' as I don't have 2GB set aside for running this...
yet....
Actually I don't think the 64bit filesystem access is necessary for
file-[target]; but for an image reader it would be appropriate...
Just FWIW.
G'day, eh? :)
- Teunis