Return Values..............................................................................................................
160
Description.................................................................................................................
161
Using dlmodinfo to retrieve information about a load module............................................
The dlgetname Routine.....................................................................................................
Syntax.......................................................................................................................
162
Using dlgetname to retrieve pathname...........................................................................
The dlclose Routine..........................................................................................................
163
Using dlclose to unload a shared library........................................................................
The dladdr Routine...........................................................................................................
164
Diagnostics................................................................................................................
Using dladdr to get the symbolic information for an address.............................................
165
The dlmodadd Routine......................................................................................................
166
The dlmodremove Routine.................................................................................................
The dlgetmodinfo Routine..................................................................................................
167
Using dlgetmodinfo.....................................................................................................
The shl_load Shared Library Management Routines...................................................................
168
The shl_load Routine........................................................................................................
Parameters.................................................................................................................
Return Value...............................................................................................................
169
shl_load Usage...........................................................................................................
170
shl_load Example........................................................................................................
BIND_NONFATAL Modifier.....................................................................................
171
BIND_VERBOSE Modifier........................................................................................
BIND_FIRST Modifier..............................................................................................
DYNAMIC_PATH Modifier.......................................................................................
BIND_NOSTART Modifier .......................................................................................
BIND_RESTRICTED Modifier.....................................................................................
BIND_TOGETHER Modifier......................................................................................
172
BIND_BREADTH_FIRST Modifier...............................................................................
The shl_findsym Routine....................................................................................................
Syntax ......................................................................................................................
Parameters ................................................................................................................
173
shl_findsym Example....................................................................................................
174
Load a Shared Library and Call its Routines and Access its Data...................................
Contents 9