23 lines
390 B
C
23 lines
390 B
C
#ifndef _DLFCN_H
|
|
#define _DLFCN_H 1
|
|
|
|
#define RTLD_LAZY (1 << 0)
|
|
#define RTLD_NOW (0 << 0)
|
|
#define RTLD_GLOBAL (1 << 1)
|
|
#define RTLD_LOCAL (0 << 1)
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
int dlclose(void *ptr);
|
|
char *dlerror(void);
|
|
void *dlopen(const char *path, int mode);
|
|
void *dlsym(void *handle, const char *sym);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif
|
|
|
|
#endif
|