1ps_pglobal_lookup(3PROC)Process Control Library Functionpss_pglobal_lookup(3PROC)
2
3
4

NAME

6       ps_pglobal_lookup,  ps_pglobal_sym - look up a symbol in the symbol ta‐
7       ble of the load object in the target process
8

SYNOPSIS

10       #include <proc_service.h>
11
12       ps_err_e ps_pglobal_lookup(struct ps_prochandle *ph,
13            const char *object_name, const char *sym_name,
14            psaddr_t *sym_addr);
15
16
17       ps_err_e ps_pglobal_sym(struct ps_prochandle *ph,
18            const char *object_name, const char *sym_name,
19            ps_sym_t *sym);
20
21

DESCRIPTION

23       ps_pglobal_lookup() looks up the symbol sym_name in the symbol table of
24       the  load object object_name in the target process identified by ph. It
25       returns the symbol's value as an  address  in  the  target  process  in
26       *sym_addr.
27
28
29       ps_pglobal_sym()  looks  up  the symbol sym_name in the symbol table of
30       the load object object_name in the target process identified by ph.  It
31       returns  the  symbol table entry in *sym. The value in the symbol table
32       entry is the symbol's value as an address in the target process.
33

RETURN VALUES

35       PS_OK        The call completed successfully.
36
37
38       PS_NOSYM     The specified symbol was not found.
39
40
41       PS_ERR       The function did not return successfully.
42
43

ATTRIBUTES

45       See attributes(5) for description of the following attributes:
46
47
48
49
50       ┌─────────────────────────────┬─────────────────────────────┐
51       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
52       ├─────────────────────────────┼─────────────────────────────┤
53       │MT Level                     │Safe                         │
54       └─────────────────────────────┴─────────────────────────────┘
55

SEE ALSO

57       kill(2), libc_db(3LIB), proc_service(3PROC), attributes(5), threads(5)
58
59
60
61SunOS 5.11                        16 Jan 1998         ps_pglobal_lookup(3PROC)
Impressum