HP-UX Reference (11i v2 07/12) - 2 System Calls (vol 5)

m
memcntl(2) memcntl(2)
[EPERM] The effective user ID of the process is not superuser and
MC_LOCK or MC_UNLOCK was
specified.
WARNINGS
Users of
memcntl() should note that the libcext
library will not be available in future releases of
HP-UX. However this function will be available as part of the C library
libc.
AUTHOR
memcntl() was developed by HP.
SEE ALSO
mlock(2), mlockall(2), mmap(2), mprotect(2), msync(2), plock(2), sysconf(2).
176 Hewlett-Packard Company 3 HP-UX 11i Version 2: December 2007 Update