The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

truncate - truncate a file to a specified length

 SYNOPSIS



#include <unistd.h>

int truncate(const char *path, off_t length);

 DESCRIPTION

Refer to ftruncate().

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]