提交 6a772731 编写于 作者: Y Young-il Choi

rt: add android dummy functions for mman related

上级 efd14387
......@@ -83,4 +83,29 @@ extern "C" int pthread_atfork(void (*prefork)(void),
return 0;
}
extern "C" int mlockall(int flags)
{
return 0;
}
extern "C" int munlockall(void)
{
return 0;
}
extern "C" int shm_open(const char *name, int oflag, mode_t mode)
{
return 0;
}
extern "C" int shm_unlink(const char *name)
{
return 0;
}
extern "C" int posix_madvise(void *addr, size_t len, int advice)
{
return 0;
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册