Changes the size of a file.
#define INCL_DOSFILEMGR #include <os2.h> HFILE hFile; /* Handle of the file whose size to be changed. */ ULONG cbSize; /* New size, in bytes, of the file. */ APIRET ulrc; /* Return Code. */ ulrc = DosSetFileSize(hFile, cbSize);