summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/dlfcn.h
blob: 0ddcafdba91534f34c41c04f89bf9b98ed11d6ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _DLFCN_H
#define _DLFCN_H 1

#define RTLD_LAZY	0x00000
#define RTLD_NOW	0x00001

#define RTLD_LOCAL	0x00000
#define RTLD_GLOBAL	0x10000

#define RTLD_DEFAULT	((void*)1)
#define RTLD_NEXT	((void*)2)

void *dlopen (const char *filename, int flag);
const char *dlerror(void);
void *dlsym(void *handle, char *symbol);
int dlclose (void *handle);

#endif