Function: FTRUNC Purpose: Truncates a file to a specified number of bytes. Category: FILES, UTILITY File: ftrunc.c Author: K.G. Begeman Use: INTEGER FTRUNC( FILENAME, Input CHARACTER*(*) NEWSIZE ) Input INTEGER FTRUNC Returns 0 when file was truncated succesfully, otherwise a non zero value is returned. FILENAME Name of file to truncate. This file must be present! NEWSIZE New file size in bytes. Warning: System dependent! Updates: Apr 11, 1990: KGB, Document created.