Synesis Software

unixem/dlfcn.h File Reference


Detailed Description

Contains the declarations for the dlopen() API.

#include <unixem/dlfcn.h>
#include <unixem/unixem.h>
#include <sys/types.h>

Go to the source code of this file.

Defines

#define RTLD_LAZY   (UNIXEM_RTLD_LAZY)
#define RTLD_NOW   (UNIXEM_RTLD_NOW)
#define UNIXEM_RTLD_LAZY   (0x00001)
#define UNIXEM_RTLD_NOW   (0x00002)

Functions

void * dlopen (char const *moduleName, int mode)
 Loads the given module,.
void dlclose (void *hModule)
 Closes the given module.
void * dlsym (void *hModule, char const *symbolName)
 Looks up a symbol.
char const * dlerror (void)
 Returns a descriptive string for the last error.
void * unixem_dlopen (char const *moduleName, int mode)
 Loads the given module,.
int unixem_dlclose (void *hModule)
 Closes the given module.
void * unixem_dlsym (void *hModule, char const *symbolName)
 Looks up a symbol.
char const * unixem_dlerror (void)
 Returns a descriptive string for the last error.


UNIX Emulation for Win32 Libraries documentation © Synesis Software Pty Ltd, 2002-2010