home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
c
/
jazlib.arc
/
TRUNCATE.C
< prev
next >
Wrap
Text File
|
1986-01-31
|
224b
|
16 lines
truncate(fname,fsize)
char *fname;
long fsize;
{
int whandle;
whandle = jzopnfil(fname,2);
if (whandle < 0) return(-1);
else {
chsize(whandle,fsize);
jzclsfil(whandle);
return(0);
}
}