RTEMS
5.0.0
|
Truncate a File to the Specified Length. More...
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
Functions | |
int | truncate (const char *path, off_t length) |
Truncate a File to the Specified Length.
int truncate | ( | const char * | path, |
off_t | length | ||
) |
This routine is not defined in the POSIX 1003.1b standard but is commonly supported on most UNIX and POSIX systems. It is provided for compatibility.