ps_pglobal_lookup(3T)
NAME
ps_pglobal_lookup − looks up the symbol in the symbol table of the load object in the target process
SYNOPSIS
#include <proc_service.h>
ps_err_e ps_pglobal_lookup(const struct ps_prochandle ∗ph,
const char ∗ld_object_name, const char ∗ld_symbol_name ,
psaddr_t ∗ld_symbol_addr);
DESCRIPTION
ps_pglobal_lookup() looks up the symbol sym_name in the symbol table of the load object obj_name in the target process identified by ph. It returns its value in ∗sym_addr. The symbol must be global.
RETURN VALUES
PS_OK The call completed successfully. ∗sym_addr contains the value of the specified symbol.
PS_NOSYM The specified symbol was not found.
PS_ERR The function did not return successfully.
ATTRIBUTES
See attributes(5) for description of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| MT Level | Safe |
SEE ALSO
kill(2), libthread(3T), libthread_db(3T), proc_service(3T), libthread_db(4), attributes(5)
SunOS 5.6 — Last change: 4 Feb 1997