[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Discuss-gnuradio] fseek cont: reading file position beyond 32 bits
From: |
Matthew Kaufman |
Subject: |
RE: [Discuss-gnuradio] fseek cont: reading file position beyond 32 bits |
Date: |
Tue, 8 Feb 2005 13:52:02 -0800 |
I'm not sure if this is a python question or a C question. In C, you want to
use ftello() if you have it, or if you don't, you can get the position info
from the underlying file descriptor using lseek(fd, 0, SEEK_CUR), however
you'll have to do annoying things to bypass the buffering that stdio is
providing.
If this is a python question, then if your platform has ftello() and python
was built with HAVE_FTELLO, you shouldn't be having this problem.
Matthew Kaufman
address@hidden