Go to the first, previous, next, last section, table of contents.


chsize

Syntax

#include <io.h>

int chsize(int handle, long size);

Description

Just calls ftruncate (see section ftruncate).

Return Value

Zero on success, -1 on failure.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.