summaryrefslogtreecommitdiffstats
path: root/include/dlfcn.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-07-17 19:45:42 +0000
committerkib <kib@FreeBSD.org>2009-07-17 19:45:42 +0000
commita106aba3da6cf54be8c26869ab0827d68235af9d (patch)
tree69ab2c09c37b5924f7909584ef7c3c9d0b31c062 /include/dlfcn.h
parentdb1bf25adde7f22207c0905ba9e8d3ff76ea87d4 (diff)
downloadFreeBSD-src-a106aba3da6cf54be8c26869ab0827d68235af9d.zip
FreeBSD-src-a106aba3da6cf54be8c26869ab0827d68235af9d.tar.gz
Implement RTLD_NOLOAD flag for dlopen(3).
Requested and tested by: jkim Reviewed by: kan Approved by: re (kensmith)
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 9fac620..b1a9738 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -48,6 +48,7 @@
#define RTLD_LOCAL 0 /* Opposite of RTLD_GLOBAL, and the default. */
#define RTLD_TRACE 0x200 /* Trace loaded objects and exit. */
#define RTLD_NODELETE 0x01000 /* Do not remove members. */
+#define RTLD_NOLOAD 0x02000 /* Do not load if not already loaded. */
/*
* Request arguments for dlinfo().
OpenPOWER on IntegriCloud