1
0

ftruncate.c 178 B

12345678910
  1. #include <unistd.h>
  2. #include "syscall.h"
  3. #include "libc.h"
  4. int ftruncate(int fd, off_t length)
  5. {
  6. return syscall(__NR_ftruncate, fd, __SYSCALL_LL(length));
  7. }
  8. LFS64(ftruncate);