#include <io.h> int chsize(int handle, long size);
Just calls ftruncate (see section ftruncate).
Zero on success, -1 on failure.
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.