Advertisement

Truncating a file

Started by May 20, 2001 06:19 PM
1 comment, last by SikCiv 23 years, 8 months ago
Is there a way to truncate (decrease the size) of a file using the fopen, fwrite commands? Can you write an EOF somehow?

  Downloads:  ZeroOne Realm

win32: _chsize
*nix: truncate (not POSIX)

------------------------------
Dedicate to nobody, I''m nobody
------------------------------------------------------CCP is fascistic, they even banned www.sourceforge.net
Advertisement
In DevStudio it refers to the _open function, im using fopen etc.. will it still work?

  Downloads:  ZeroOne Realm

This topic is closed to new replies.

Advertisement