blob: c0768c63e057cb244f3dc43f98e6bb9cddc0cd52 [file] [log] [blame]
#include <unistd.h>
#include "syscall.h"
#include "libc.h"
int ftruncate(int fd, off_t length) {
return syscall(SYS_ftruncate, fd, __SYSCALL_LL_O(length));
}