summaryrefslogtreecommitdiff
path: root/src/dlfcn/dlerror.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-10-29 16:12:21 -0400
committerJakob Kaivo <jkk@ung.org>2020-10-29 16:12:21 -0400
commit711f5a93cf708e9b40c2f937469934f270a02476 (patch)
tree5841b262daa6333b762f20ce0fe4798ba0fe1b3d /src/dlfcn/dlerror.c
parent972d2eee3a3518f18e0958e6f8a1b2ffafd6d39a (diff)
outline <dlfcn.h>
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)
+*/