discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] fseek cont: reading file position beyond 32 bits


From: cswiger
Subject: [Discuss-gnuradio] fseek cont: reading file position beyond 32 bits
Date: Tue, 8 Feb 2005 16:21:48 -0500 (EST)

Hi - Not a big issue, I'm experiment with 'ftell' to read the
current position in a big file, it would be nice to know 'where'
in a 1.5 hour recording we are listening to for later reference.
pos=ftell(*fp) works as expected, but only up to 2^32/2. It
appears to be a limitation in ftell(), as returning "long long"
and pre-dividing by d_itemsize still hit the same barrier -
returning "long long" made no difference and pos=ftell(*fp)/d_itemsize
returns errors at the 2^32/2/4 (float data in this case).

Any ideas? Again, not a showstopper. Current data file is 13Gb.

--Chuck





reply via email to

[Prev in Thread] Current Thread [Next in Thread]