BRL-CAD
Dynamic Libraries

Wrap platform-specific functionality for managing dynamic library run-time loading, symbol access and unloading. More...

Collaboration diagram for Dynamic Libraries:

Macros

#define BU_RTLD_LAZY   1
 
#define BU_RTLD_NOW   2
 
#define BU_RTLD_GLOBAL   0x100
 
#define BU_RTLD_LOCAL   0
 

Functions

void * bu_dlopen (const char *path, int mode)
 
void * bu_dlsym (void *path, const char *symbol)
 
int bu_dlclose (void *handle)
 
const char * bu_dlerror (void)
 
int bu_dlunload (void)
 

Detailed Description

Wrap platform-specific functionality for managing dynamic library run-time loading, symbol access and unloading.

Dynamic Library functionality.

Macro Definition Documentation

◆ BU_RTLD_LAZY

#define BU_RTLD_LAZY   1

Definition at line 49 of file dylib.h.

◆ BU_RTLD_NOW

#define BU_RTLD_NOW   2

Definition at line 50 of file dylib.h.

◆ BU_RTLD_GLOBAL

#define BU_RTLD_GLOBAL   0x100

Definition at line 51 of file dylib.h.

◆ BU_RTLD_LOCAL

#define BU_RTLD_LOCAL   0

Definition at line 52 of file dylib.h.

Function Documentation

◆ bu_dlopen()

void * bu_dlopen ( const char *  path,
int  mode 
)

◆ bu_dlsym()

void * bu_dlsym ( void *  path,
const char *  symbol 
)

◆ bu_dlclose()

int bu_dlclose ( void *  handle)

◆ bu_dlerror()

const char * bu_dlerror ( void  )

◆ bu_dlunload()

int bu_dlunload ( void  )