From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Message-Id: <199902031053.LAA19755@juno.erisoft.se> Subject: _llseeks()'s return value To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS) Date: Wed, 3 Feb 1999 11:53:29 +0100 (MET) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hmm... I seem to have a problem. _llseek() is supposed to return the file pointer's (or whatever it's called) position. As there doesn't seem to be any support for seek with bigger than 2^31 offsets, _llseek() will have to call lseek() (potentially) several times. But how is _llseek() to know what to return as lseek() only returns values <= 2^31. Is there some internal libc structure containing the current file pointer? Is this declared long long (more than 32 bits anyway)? Is it ok if I add such a thing if there isn't? Right, MartinS