ps_pglobal_sym man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

PS_PGLOBAL_LOOKUP(3PROC)			      PS_PGLOBAL_LOOKUP(3PROC)

NAME
       ps_pglobal_lookup,  ps_pglobal_sym - look up a symbol in the symbol ta‐
       ble 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)

				 Jan 16, 1998	      PS_PGLOBAL_LOOKUP(3PROC)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net