summaryrefslogtreecommitdiffstats
path: root/include/dlfcn.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-01-07 10:33:01 +0000
committerkib <kib@FreeBSD.org>2012-01-07 10:33:01 +0000
commit2685c039fc6e472a64c44267b0145e051115a24b (patch)
treecf61a8d017fae28ad3fed9686940a74e9bafedf0 /include/dlfcn.h
parent41b065b8d46fe265392cdb2ddde288e6685e6a17 (diff)
downloadFreeBSD-src-2685c039fc6e472a64c44267b0145e051115a24b.zip
FreeBSD-src-2685c039fc6e472a64c44267b0145e051115a24b.tar.gz
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
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 794fde1..c508843 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);
OpenPOWER on IntegriCloud