mlockall.c 171 字节
Newer Older
R
Rich Felker 已提交
1
#include <sys/mman.h>
W
w00349915 已提交
2
#include <unsupported_api.h>
R
Rich Felker 已提交
3 4 5 6
#include "syscall.h"

int mlockall(int flags)
{
W
w00349915 已提交
7
	unsupported_api(__FUNCTION__);
8
	return syscall(SYS_mlockall, flags);
R
Rich Felker 已提交
9
}