summaryrefslogtreecommitdiff
path: root/src/dlfcn/dlsym.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/dlsym.c
parent972d2eee3a3518f18e0958e6f8a1b2ffafd6d39a (diff)
outline <dlfcn.h>
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)
+*/