ftruncate.c revision 1.1
11.1Scgd/* $Id: ftruncate.c,v 1.1 1994/04/02 05:38:16 cgd Exp $ */ 21.1Scgd 31.1Scgd#include <sys/types.h> 41.1Scgd#include <sys/syscall.h> 51.1Scgd 61.1Scgdint 71.1Scgdftruncate(path, length) 81.1Scgd char *path; 91.1Scgd off_t length; 101.1Scgd{ 111.1Scgd 121.1Scgd return(__syscall((quad_t)SYS_ftruncate, path, 0, length)); 131.1Scgd} 14