Is there any way to fseek (or something to the exact same effect) a file
opened with a or a+?
I've tried rewinding and fseeking appendable files, but neither work.
Opening up in r+ gives me part of the desired result, but if where I want
to write is not at the end, it writes over things, which
I was thinking it was obvious because otherwise I'd have just been using
that and not even posted about the a/a+. Using a works in the way that
it is supposed to (it starts at the end), but what I wanted was to use
append and then just append to anywhere in the file.
Currently to get that done
2 matches
Mail list logo