0

http://www.amitshah.net

How should one allocate disk space for a file for later writing? ftruncate() (or lseek() followed by write()) create sparse files, not what is needed. A traditional way is to write zeroes to the file till it reaches the desired file size. Doing things this way has a few drawbacks...

Full story »
jefe's picture
Created by jefe 15 years 5 weeks ago
Category: High End   Tags:

Best karma users