Re: Re: [UnixOS2] libc

Eberhard Mattes <[email protected]> 19 Jun 2003 11:11:23 +0200
Newsgroups gmane.comp.ide.emx.devel
Message-ID <[email protected]>
Holger Veit wrote:

> Since most Unixes started broken by concept with the old 'long' offset
> type

At least one of them started with a 32-bit offset broken into two
16-bit words) -- guess the meaning of 'l' in 'lseek()'...  There was a
time before 'long'. Ditto for 64-bit offsets.  Hard disks grew faster
than anyone had ever dreamed.

> 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.

Probably not relevant: you don't know beforehand whether the resulting
offset will be >= 2GB.

Eberhard