LibC: Implement no-op posix_madvice

Also add non-posix prefixed definitions
This commit is contained in:
2025-04-19 02:05:24 +03:00
parent 201d752850
commit 46079a8612
2 changed files with 16 additions and 0 deletions

View File

@@ -28,6 +28,14 @@ int msync(void* addr, size_t len, int flags)
return syscall(SYS_MSYNC, addr, len, flags);
}
int posix_madvise(void* addr, size_t len, int advice)
{
(void)addr;
(void)len;
(void)advice;
fprintf(stddbg, "TODO: posix_madvise");
return 0;
}
#include <BAN/Assert.h>