LibC: Add posix_fadvise as no-op

This commit is contained in:
Bananymous 2025-10-30 16:34:03 +02:00
parent dc51ce9e92
commit 0cfda6f6a7
1 changed files with 9 additions and 0 deletions

View File

@ -45,3 +45,12 @@ int fcntl(int fildes, int cmd, ...)
return syscall(SYS_FCNTL, fildes, cmd, extra); return syscall(SYS_FCNTL, fildes, cmd, extra);
} }
int posix_fadvise(int fd, off_t offset, off_t len, int advice)
{
(void)fd;
(void)offset;
(void)len;
(void)advice;
return 0;
}