about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-01-23 22:18:45 -0500
committerRich Felker <dalias@aerifal.cx>2013-01-23 22:18:45 -0500
commit55ddbc3e5d70f03bc52aece95fffb6abad47dbf4 (patch)
tree6eb1a60d7fae656f3c270974e4958132093d5896
parent4d07e5521ea811278f00f434fe2b8345ea1d8832 (diff)
downloadmusl-55ddbc3e5d70f03bc52aece95fffb6abad47dbf4.tar.gz
musl-55ddbc3e5d70f03bc52aece95fffb6abad47dbf4.tar.xz
musl-55ddbc3e5d70f03bc52aece95fffb6abad47dbf4.zip
add RTLD_NODELETE flag for dlopen
this is a trivial no-op, because dlclose never deletes libraries. thus
we might as well have it in the header in case some application wants
it, since we're already providing it anyway.
-rw-r--r--include/dlfcn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 5b57e8ac..e2f57b53 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -10,6 +10,7 @@ extern "C" {
 #define RTLD_LAZY   1
 #define RTLD_NOW    2
 #define RTLD_NOLOAD 4
+#define RTLD_NODELETE 4096
 #define RTLD_GLOBAL 256
 #define RTLD_LOCAL  0