#include "IpoptConfig.h"
#include <unistd.h>
#include <dlfcn.h>
Go to the source code of this file.
soHandle_t LSL_loadLib |
( |
const char * |
libname, |
|
|
char * |
msgbuf, |
|
|
int |
msglen |
|
) |
| |
Loads a dynamically linked library.
- Parameters
-
libname | The name of the library to load. |
msgbuf | A buffer to store an error message. |
msglen | Length of the message buffer. |
- Returns
- Shared library handle, or NULL if failure.
Unloads a shared library.
- Parameters
-
libhandle | Handle of shared library to unload. |
- Returns
- Zero on success, nonzero on failure.