diff options
Diffstat (limited to 'kernel/syscalls/ftruncate.c')
-rw-r--r-- | kernel/syscalls/ftruncate.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/syscalls/ftruncate.c b/kernel/syscalls/ftruncate.c new file mode 100644 index 0000000..2ed5ccc --- /dev/null +++ b/kernel/syscalls/ftruncate.c @@ -0,0 +1,6 @@ +#include <fs/vfs.h> +#include <syscalls.h> + +int syscall_ftruncate(int fd, size_t length) { + return vfs_ftruncate(fd, length); +} |