|PLMID(3PROC)||Process Control Library Functions||PLMID(3PROC)|
Plmid(struct ps_prochandle *P,
uintptr_t addr, Lmid_t
Plmid() function attempts to determine the link-map identifier that corresponds to the address addr in the process P. If addr does not correspond to an address from an object mapped in by the run-time link editor, such as anonymous mapping created with mmap(2), then there will be no corresponding link-map identifier.
lmidp must be a
NULL pointer that will be filled in with the
link-map identifier when it is successfully determined by the run-time
Plmid() function returns 0 and updates lmidp with the link-map identifier of addr. Otherwise, -1 is returned to indicate that the link-map identifier could not be determined.
|May 11, 2016||OmniOS|