#include <unistd.h> int truncate(const char *file, off_t size);
This function truncates file to size bytes.
Zero on success, nonzero on failure.
not ANSI, not POSIX
truncate("/tmp/data.txt", 400);
Go to the first, previous, next, last section, table of contents.