Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Process Control Library Functionsps_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 TYPEATTRIBUTE VALUE
MT LevelSafe

SEE ALSO

 

kill(2), libthread_db(3LIB), libthread_db(3THR), proc_service(3PROC), threads(3THR), attributes(5)


SunOS 5.9Go To TopLast Changed 16 Jan 1998

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.