15 lines
309 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)
int dlclose(void *ptr);
char *dlerror(void);
void *dlopen(const char *path, int mode);
void *dlsym(void *handle, const char *sym);
#endif