www.delorie.com/djgpp/doc/libc/libc_97.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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

ANSI/ISO C No
POSIX No


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2004   by DJ Delorie     Updated Apr 2004  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)