Re: Re: [UnixOS2] libc

Stefan Neis <neis-RCUrBZHvLvKSHq+C5vT0LZQlNPQFfrerqZSUQi4AVrg@public.gmane.org> Wed, 18 Jun 2003 15:53:37 +0200 (CEST)
Newsgroups gmane.comp.ide.emx.devel
Message-ID <Pine.GSO.4.21.0306181550190.516-100000@cdc-ultra4.cdc.informatik.tu-darmstadt.de>
On Wed, 18 Jun 2003, Holger Veit wrote:

> If we need to touch the header files already then my proposal is to
> 	typedef longlong off_t;
> and prototype
> 	int fseek(FILE*,off_t,int);
> and implement
> 	int fseek_64(FILE* f,off_t off,int whence) { return fseek(f,off,whence); }
> 
> The fseek code will itself fall down to a 64 bit compliant lseek(), and
> this will, depending on the presence of Dos*L routines or not (loadable
> DLL module) decide whether to accept the call or not if an offset >2GB is
> specified.

That's what I had in mind as well. And maybe it's also what InnoTek did
do (though I suppose they would have completely ommited the fseek_64).
BTW, is there a mail loop? I keep getting my own mail about GPL again and
again ...

	Regards,
		Stefan