Truncates a file to a specified length. Syntax: #include <unistd.h> int ftruncate (int filedes, off_t length);