提交 2f820f3b 编写于 作者: R Rich Felker

add legacy function valloc

it was already declared in stdlib.h, but not defined anywhere.
上级 2e5dfa51
#define _BSD_SOURCE
#include <stdlib.h>
#include <limits.h>
void *valloc(size_t size)
{
return memalign(PAGE_SIZE, size);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册