truncate.c (145B)
1 #include <unistd.h> 2 #include "syscall.h" 3 4 int truncate(char *path, off_t length) 5 { 6 return syscall(VXSYSTRUNCATE, (int)path, length, 0, 0, 0); 7 }
vx32Local 9vx git repository for patches. | |
git clone git://r-36.net/vx32 | |
Log | Files | Refs |