The file pointer.
The handle must be open for writing.
The size to truncate to.
If size is larger than the file it is extended with null bytes.
If size is smaller than the file the extra data will be lost.
Prior to this release ftruncate() returned an
integer value of 1 on success, instead of