summaryrefslogtreecommitdiffstats
path: root/include/dlfcn.h
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1999-04-07 02:43:11 +0000
committerjdp <jdp@FreeBSD.org>1999-04-07 02:43:11 +0000
commitfd4074472e9ad1ab43fe3c0be1485762859d7254 (patch)
treef346235f0243c542ee429cf4148837fc8c63fced /include/dlfcn.h
parent7c9bf17e255d3dab0dd8586726cc51fedda0b184 (diff)
downloadFreeBSD-src-fd4074472e9ad1ab43fe3c0be1485762859d7254.zip
FreeBSD-src-fd4074472e9ad1ab43fe3c0be1485762859d7254.tar.gz
Add a new function dlversion() which returns the version number of
the dynamic linker in the same form as __FreeBSD_version. This is mainly intended for checking the dynamic linker version during a make world.
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 41517eb..0179278 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: dlfcn.h,v 1.2 1998/02/11 05:19:10 jdp Exp $
*/
#ifndef _DLFCN_H_
@@ -66,6 +66,7 @@ int dlclose __P((void *));
const char *dlerror __P((void));
void *dlopen __P((const char *, int));
void *dlsym __P((void *, const char *));
+int dlversion __P((void));
__END_DECLS
#endif /* !_DLFCN_H_ */
OpenPOWER on IntegriCloud