summaryrefslogtreecommitdiffstats
path: root/include/dlfcn.h
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1999-08-30 00:50:12 +0000
committerjdp <jdp@FreeBSD.org>1999-08-30 00:50:12 +0000
commit005f49ab4e0c87e6808f822c4afd572998f11b1b (patch)
treee313a0abba46b6de0c86d2e6884ed3199c60edef /include/dlfcn.h
parent4bef5403f8a8fe0787101f3f5a555262f3d70b41 (diff)
downloadFreeBSD-src-005f49ab4e0c87e6808f822c4afd572998f11b1b.zip
FreeBSD-src-005f49ab4e0c87e6808f822c4afd572998f11b1b.tar.gz
Add definition for RTLD_GLOBAL, which is soon to be supported.
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 77b2181..9990e6e 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -38,10 +38,12 @@
#include <sys/cdefs.h>
/*
- * Modes for dlopen().
+ * Modes and flags for dlopen().
*/
#define RTLD_LAZY 1 /* Bind function calls lazily */
#define RTLD_NOW 2 /* Bind function calls immediately */
+#define RTLD_MODEMASK 0x3
+#define RTLD_GLOBAL 0x100 /* Make symbols globally available */
/*
* Special handle argument for dlsym(). It causes the search for the
OpenPOWER on IntegriCloud