1570af302Sopenharmony_ci#include <sys/mman.h> 2570af302Sopenharmony_ci#include "syscall.h" 3570af302Sopenharmony_ci#include <unsupported_api.h> 4570af302Sopenharmony_ci 5570af302Sopenharmony_ciint mlockall(int flags) 6570af302Sopenharmony_ci{ 7570af302Sopenharmony_ci UNSUPPORTED_API_VOID(LITEOS_A); 8570af302Sopenharmony_ci return syscall(SYS_mlockall, flags); 9570af302Sopenharmony_ci} 10