summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/include/dlfcn.h')
-rw-r--r--mdk-stage1/dietlibc/include/dlfcn.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/dlfcn.h b/mdk-stage1/dietlibc/include/dlfcn.h
new file mode 100644
index 000000000..b96f8f615
--- /dev/null
+++ b/mdk-stage1/dietlibc/include/dlfcn.h
@@ -0,0 +1,15 @@
+#ifndef _DLFCN_H
+#define _DLFCN_H 1
+
+#define RTLD_LAZY 0x00000
+#define RTLD_NOW 0x00001
+
+#define RTLD_LOCAL 0x00000
+#define RTLD_GLOBAL 0x10000
+
+void *dlopen (const char *filename, int flag);
+const char *dlerror(void);
+void *dlsym(void *handle, char *symbol);
+int dlclose (void *handle);
+
+#endif