blob: 3273edee3742ab9499e6f523b624ac49ffa2c257 (
plain)
1
2
3
4
5
6
7
8
9
|
#include <syscall.h> // for __syscall_2, syscall
#include <unistd.h> // for ftruncate, off_t
int ftruncate(int fildes, off_t length)
{
return syscall(ftruncate, fildes, length);
}
|