summaryrefslogtreecommitdiff
path: root/src/dlfcn/dlsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dlfcn/dlsym.c')
-rw-r--r--src/dlfcn/dlsym.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dlfcn/dlsym.c b/src/dlfcn/dlsym.c
new file mode 100644
index 00000000..1648fdbc
--- /dev/null
+++ b/src/dlfcn/dlsym.c
@@ -0,0 +1,13 @@
+#include <dlfcn.h>
+#include "_dlfcn.h"
+
+void *dlsym(void *restrict handle, const char *restrict name)
+{
+ struct dlhandle *h = handle;
+ (void)name;
+ return h;
+}
+
+/*
+XOPEN(500)
+*/