Changes file length to a specified length in bytes. Syntax: #include <unistd.h> int truncate (const char *path, off_t length);