summaryrefslogtreecommitdiff
path: root/src/ldso/dlinfo.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-06-29 12:46:46 -0400
committerRich Felker <dalias@aerifal.cx>2013-06-29 12:46:46 -0400
commit780cbbe63ad9e60ef30dbcb2d74271e899dae245 (patch)
tree3bf8cf88f80325893848c6f460bdb4478c76b60d /src/ldso/dlinfo.c
parent2b0af609ef3d90fe6433270f2e2f62fc77ec7441 (diff)
downloadmusl-780cbbe63ad9e60ef30dbcb2d74271e899dae245.tar.gz
implement minimal dlinfo function
Diffstat (limited to 'src/ldso/dlinfo.c')
-rw-r--r--src/ldso/dlinfo.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ldso/dlinfo.c b/src/ldso/dlinfo.c
new file mode 100644
index 00000000..4748eaf8
--- /dev/null
+++ b/src/ldso/dlinfo.c
@@ -0,0 +1,8 @@
+#include <dlfcn.h>
+
+int __dlinfo(void *, int, void *);
+
+int dlinfo(void *dso, int req, void *res)
+{
+ return __dlinfo(dso, req, res);
+}