This week, I will show how to truncate files using the truncate() and ftruncate() syscalls. The file system automatically expands a file’s size as more data is appended to it; however, it has no way ...