ps_pglobal_lookup(3PROC) Process Control Library Functions ps_pglobal_lookup(3PROC)NAME
ps_pglobal_lookup, ps_pglobal_sym - look up a symbol in the symbol table of the load object in the target process
SYNOPSIS
#include <proc_service.h>
ps_err_e ps_pglobal_lookup(struct ps_prochandle *ph, const char *object_name, const char *sym_name, psaddr_t *sym_addr);
ps_err_e ps_pglobal_sym(struct ps_prochandle *ph, const char *object_name, const char *sym_name, ps_sym_t *sym);
DESCRIPTION
ps_pglobal_lookup() looks up the symbol sym_name in the symbol table of the load object object_name in the target process identified by ph.
It returns the symbol's value as an address in the target process in *sym_addr.
ps_pglobal_sym() looks up the symbol sym_name in the symbol table of the load object object_name in the target process identified by ph. It
returns the symbol table entry in *sym. The value in the symbol table entry is the symbol's value as an address in the target process.
RETURN VALUES
PS_OK The call completed successfully.
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), libc_db(3LIB), proc_service(3PROC), attributes(5), threads(5)SunOS 5.10 16 Jan 1998 ps_pglobal_lookup(3PROC)
Check Out this Related Man Page
ps_pglobal_lookup(3PROC) Process Control Library Functions ps_pglobal_lookup(3PROC)NAME
ps_pglobal_lookup, ps_pglobal_sym - look up a symbol in the symbol table of the load object in the target process
SYNOPSIS
#include <proc_service.h>
ps_err_e ps_pglobal_lookup(struct ps_prochandle *ph,
const char *object_name, const char *sym_name,
psaddr_t *sym_addr);
ps_err_e ps_pglobal_sym(struct ps_prochandle *ph,
const char *object_name, const char *sym_name,
ps_sym_t *sym);
DESCRIPTION
ps_pglobal_lookup() looks up the symbol sym_name in the symbol table of the load object object_name in the target process identified by ph.
It returns the symbol's value as an address in the target process in *sym_addr.
ps_pglobal_sym() looks up the symbol sym_name in the symbol table of the load object object_name in the target process identified by ph. It
returns the symbol table entry in *sym. The value in the symbol table entry is the symbol's value as an address in the target process.
RETURN VALUES
PS_OK The call completed successfully.
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), libc_db(3LIB), proc_service(3PROC), attributes(5), threads(5)SunOS 5.11 16 Jan 1998 ps_pglobal_lookup(3PROC)
Hi@all,
I try to compile c code on hpux 11.11 pa-risc 2 with gcc (32bit). I compile with the option -g, so that I get the symbol table, but it is not available. Does someone knows something on this?
thx (2 Replies)
Undefined first referenced
symbol in file
std::basic_ostream<char, std::char_traits<char> >::operator<<(int)/var/tmp//ccTR
std::cerr /var/tmp//ccTRcjui.o
std::cout /var/tmp//ccTRcjui.o... (1 Reply)
Hi guys,
Im new to unix; I have a problem at hand.
Somehow at the terminal, I lost the command prompt, instead I get a ">" symbol. Anything I type in does me no good. What do you recommend?
Thank you for your help. (3 Replies)
Hi All,
while building, i am receiving the following error......
Undefined first referenced
symbol in file
void os_directory::create(const std::string &) obj.release/BOConfig.o (symbol belongs to implicit dependency... (2 Replies)
I want to remove the commented lines in a file identified by ' symbol at the start of each ine. A sample example will be like:
Input
-----
'IFerr_flag=0THEN
iferr_flag=0then
iferr_flag=0then
iferr_flag=0then
iferr_flag=0then
iferr_flag=0then
iferr_flag=0then
Output
-------... (3 Replies)
Hi,
I would like to ask for your help with my problem,
im writing a unix script to remove characters before the symbol "/", but the one being removed are characters after the symbol. Ive searched over the internet and found no answer.. hope you can help me with this.
sample:
text... (2 Replies)
I have a target directory, there are some files and directories in "target_dir".
I have a symbol link: my_link -> <target_dir>
The target directory name is NOT known to the script (because it is varying), while the link name is always fixed.
In a shell script, how to remove both the... (1 Reply)
hi All,
i have googled and found that below are the functionality of carat symbol
Meaning of carat is
"at the beginning of line";
"it can also negate matches"
how do i know when carat is behaving as beginning of line or as a negate.
regards,
scriptor (6 Replies)