Skip to content
Back to formatted view

Raw Message

Message-ID: <20061222T163510Z_827D00180000@metro.dst.or.us>
Date: 2006-12-23T00:35:10Z
From: Steven Hansen
Subject: seek() - What is the largest integer that can be used?

I am attempting to use seek() to navigate through a large binary file (3GB).  I would like to move to a file position which would require my "where" value to be greater than 2*10^9.  This doesn't appear to be working, however.  Is there any way around this problem on a 32-bit OS?  If not I plan to modify my code to move through the binary file in smaller steps.  I was curious as to whether there was another solution.
Thank you for your help.
-Steve

Steve Hansen
Transportation Planner
Metro
600 NE Grand Ave
Portland, OR 97232
(503)797-1894
hansens at metro.dst.or.us