summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2009-07-17 19:45:42 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2009-07-17 19:45:42 +0000
commit49e8c06b454b9a37d48ea7c1c47fdf7230acafb9 (patch)
tree69ab2c09c37b5924f7909584ef7c3c9d0b31c062 /include
parent874bb766470c542bdcd01eed6952d9df75c5b7bb (diff)
Implement RTLD_NOLOAD flag for dlopen(3).
Requested and tested by: jkim Reviewed by: kan Approved by: re (kensmith)
Notes
svn path=/head/; revision=195745
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 9fac6204224b..b1a97386747d 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().