iconv: fix missing bounds checking for shift_jis decoding
[musl.git] / src / mman / mlock.c
blob71af582fe6a3eb1538a59a1dded009d16ab062b8
1 #include <sys/mman.h>
2 #include "syscall.h"
4 int mlock(const void *addr, size_t len)
6 #ifdef SYS_mlock
7 return syscall(SYS_mlock, addr, len);
8 #else
9 return syscall(SYS_mlock2, addr, len, 0);
10 #endif