From 26abd4e18ebd4a256a8b58de4cbcf455b7290f06 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 2 Jul 2026 19:52:01 +0300 Subject: [PATCH] LibC: Add posix_fallocate stub --- userspace/libraries/LibC/fcntl.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/userspace/libraries/LibC/fcntl.cpp b/userspace/libraries/LibC/fcntl.cpp index 055a0451..edac3176 100644 --- a/userspace/libraries/LibC/fcntl.cpp +++ b/userspace/libraries/LibC/fcntl.cpp @@ -54,3 +54,12 @@ int posix_fadvise(int fd, off_t offset, off_t len, int advice) (void)advice; return 0; } + +int posix_fallocate(int fd, off_t offset, off_t size) +{ + (void)fd; + (void)offset; + (void)size; + fprintf(stddbg, "TODO: posix_fallocate\n"); + return 0; +}