summaryrefslogtreecommitdiff
path: root/src/dlfcn/dlerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dlfcn/dlerror.c')
-rw-r--r--src/dlfcn/dlerror.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dlfcn/dlerror.c b/src/dlfcn/dlerror.c
new file mode 100644
index 00000000..fb1dc0e6
--- /dev/null
+++ b/src/dlfcn/dlerror.c
@@ -0,0 +1,12 @@
+#include <dlfcn.h>
+#include "_dlfcn.h"
+
+char *dlerror(void)
+{
+ extern char *__dlerror;
+ return __dlerror;
+}
+
+/*
+XOPEN(500)
+*/