blob: 987f5b683bb08c0014fb17eae1b1099b3754f722 [file] [log] [blame]
#include <malloc.h>
#include <stdlib.h>
#include "compiler/compiler.h"
int __weak posix_memalign(void **ptr, size_t align, size_t size)
{
*ptr = memalign(align, size);
return *ptr == NULL;
}
int __weak posix_fallocate(int fd, off_t offset, off_t len)
{
return 0;
}