Unpins the code and data associated with a loaded object module.
#include <sys/types.h> #include <sys/errno.h> #include <sys/pin.h>
int unpincode (func) int (*func) ( );
func | Specifies an address used to determine the object module to be unpinned. The address is typically that of a function that is exported by this object module. |
The unpincode kernel service uses the ltunpin kernel service to decrement the pin count for the pages associated with the following items:
The loader entry for the module is used to determine the size of both the code and the data area.
The unpincode kernel service can be called from the process environment only.
The unpincode kernel service is part of Base Operating System (BOS) Runtime.
The unpin kernel service.
Understanding Execution Environments and Memory Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.