summaryrefslogblamecommitdiff
path: root/src/unistd/ftruncate.c
blob: 7ed69ff65e9d915c11bb4f26be55144b020eab19 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                                   
                                                                


                 
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int ftruncate(int fd, off_t length)
{
	return syscall(SYS_ftruncate, fd, __SYSCALL_LL(length));
}

LFS64(ftruncate);