FreeBASIC  0.91.0
hdynload.c File Reference
#include "../fb.h"
#include "../fb_private_hdynload.h"
#include <dlfcn.h>
Include dependency graph for hdynload.c:

Go to the source code of this file.

Macros

#define hDylibFree(lib)   dlclose( lib )
 
#define hDylibSymbol(lib, sym)   dlsym( lib, sym )
 

Functions

FB_DYLIB fb_hDynLoad (const char *libname, const char **funcname, void **funcptr)
 
int fb_hDynLoadAlso (FB_DYLIB lib, const char **funcname, void **funcptr, ssize_t count)
 
void fb_hDynUnload (FB_DYLIB *lib)
 

Macro Definition Documentation

#define hDylibFree (   lib)    dlclose( lib )

Definition at line 7 of file hdynload.c.

#define hDylibSymbol (   lib,
  sym 
)    dlsym( lib, sym )

Definition at line 8 of file hdynload.c.

Function Documentation

FB_DYLIB fb_hDynLoad ( const char *  libname,
const char **  funcname,
void **  funcptr 
)

Definition at line 10 of file hdynload.c.

Here is the caller graph for this function:

int fb_hDynLoadAlso ( FB_DYLIB  lib,
const char **  funcname,
void **  funcptr,
ssize_t  count 
)

Definition at line 36 of file hdynload.c.

Here is the caller graph for this function:

void fb_hDynUnload ( FB_DYLIB lib)

Definition at line 50 of file hdynload.c.

Here is the caller graph for this function: