prg_dl_sym_get()
Abstract
Obtains a pointer to a specified symbol.
Syntax
prg_dl_sym_get (prg_dl_shobj_handle, sym_name)
| Argument | Type | Description |
|---|---|---|
prg_dl_shobj_handle |
PrgT_Dl_Shobj * |
Handle of the object of interest, or PRGC_NIL to search the process space. |
sym_name |
const char * |
Name of symbol to retrieve. |
Return Type
void *
Pointer to the specified symbol; PRGC_NIL if unsuccessful.
Header
prg_dl.h
Details
Use this function to obtain a pointer to the specified symbol. sym_name must exist in either the specified shared object or, if prg_dl_shobj_handle is PRGC_NIL, the current process space.