Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Andy Burns <andy@burns.net>
Subject: Re: Problem fseeking a 4.2 million block file
Date: Wed, 28 Nov 2001 19:01:48 +0000	[thread overview]
Message-ID: <02da0u88easj4gtbke1oujcm2vpooarl6t@4ax.com> (raw)
In-Reply-To: 4983a326.0111281044.688c9ddd@posting.google.com

On 28 Nov 2001 10:44:53 -0800, steve_p@trigent.com (Steve Porter)
wrote:

>Since fseek expects a signed int for
>the offset, will there be a problem if the offset passed in is so
>large it 'overwrites' the sign bit?  Will this affect subsequent
>fseeks, assuming all fseeks start from the beginning of the file?

rather than doing absolute seeks from the start of the file, could you
try relative seeks for a point already seeked to halfway into the
file? or pehaps absolute seeks from the end rather than the start?

messy I know ...
-- 
Andy Burns


  reply	other threads:[~2001-11-28 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-28 18:44 Problem fseeking a 4.2 million block file Steve Porter
2001-11-28 19:01 ` Andy Burns [this message]
2001-11-28 23:32 ` Hoff Hoffman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox