tech-userlevel archive

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

Re: fopen(.., "a") + fseek

On Thu, Nov 06, 2008 at 04:52:03PM +0100, Joerg Sonnenberger wrote:
> Have you tried *reading* after fseek?

Nope. I've opened the file with "a" which is for writing only. In
this light, the fseek "fails".  Your comment makes me think though
that the fseek would work for reading if the file was opened with
"a+". So I'll just file this as caveeat I wasn't aware of.

Thanks & Regards,


Home | Main Index | Thread Index | Old Index