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

Another simple question



It may seem like a newbie question, but how can I redim a file? I mean,
let's say my file is 12000 bytes and I want to truncate it to 11500
bytes, how to scrap the 500 last bytes without having to create a new
file and copy only 11500 bytes to it? Is there a way with std C?

Etienne Fortin
Sensio