Pins the code and data associated with a loaded object module.
#include <sys/types.h> #include <sys/errno.h> #include <sys/pin.h>
int pincode ( func)
int (*func) ();
func | Specifies an address used to determine the object module to be pinned. The address is typically that of a function exported by this object module. |
The pincode service uses the pin service to pin the specified object module. The loader entry for the object module is used to determine the size of both the code and data.
The pincode kernel service can be called from the process environment only.
When an error occurs, the pincode service returns without pinning any pages.
The pin kernel service.
Understanding Execution Environments and Memory Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.