aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2012-01-07 10:33:01 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-01-07 10:33:01 +0000
commit5d8aec9c0224a1bafafc22a0f2e7572cbfd082dd (patch)
treecf61a8d017fae28ad3fed9686940a74e9bafedf0 /include
parent5bbe0c5357ab1559478babc8c2cf244cff5e98b7 (diff)
downloadsrc-5d8aec9c0224a1bafafc22a0f2e7572cbfd082dd.tar.gz
src-5d8aec9c0224a1bafafc22a0f2e7572cbfd082dd.zip
Implement fdlopen(3), an rtld interface to load shared object by file
descriptor. Requested and tested by: des (previous version) Reviewed by: des, kan (previous version) MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=229768
Diffstat (limited to 'include')
-rw-r--r--include/dlfcn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 794fde109b39..c5088431e651 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -118,6 +118,7 @@ void *dlopen(const char *, int);
void *dlsym(void * __restrict, const char * __restrict);
#if __BSD_VISIBLE
+void *fdlopen(int, int);
int dladdr(const void * __restrict, Dl_info * __restrict);
dlfunc_t dlfunc(void * __restrict, const char * __restrict);
int dlinfo(void * __restrict, int, void * __restrict);