xsecurelock 1.8.0
XSecureLock is an X11 screen lock utility.
Loading...
Searching...
No Matches
mlock_page.h File Reference
#include <limits.h>
#include <stdint.h>
#include <sys/mman.h>
#include <unistd.h>

Go to the source code of this file.

Macros

#define MLOCK_PAGE(ptr, size)
 Lock the memory area given by a pointer and a size.

Macro Definition Documentation

◆ MLOCK_PAGE

#define MLOCK_PAGE ( ptr,
size )
Value:
0

Lock the memory area given by a pointer and a size.

The area is expanded to fill whole memory pages.