From 2292b11e82a3d6d70e7bb932c512155dc13c5025 Mon Sep 17 00:00:00 2001 From: Anton Kling <anton@kling.gg> Date: Tue, 24 Oct 2023 14:10:07 +0200 Subject: VFS/LibC: Create ftruncate function and corresponding syscall and libc implementation Previously this function was only used for shared memory region created by shm_open because I was lazy. Now exists for all files. --- cpu/syscall.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cpu/syscall.c') diff --git a/cpu/syscall.c b/cpu/syscall.c index 4682c53..c072053 100644 --- a/cpu/syscall.c +++ b/cpu/syscall.c @@ -13,6 +13,7 @@ #include <scalls/msleep.h> #include <scalls/ppoll.h> #include <scalls/shm.h> +#include <scalls/ftruncate.h> #include <scalls/socket.h> #include <scalls/stat.h> #include <scalls/uptime.h> -- cgit v1.2.3