add RTLD_NODELETE flag for dlopen
authorRich Felker <dalias@aerifal.cx>
Thu, 24 Jan 2013 03:18:45 +0000 (22:18 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 24 Jan 2013 03:18:45 +0000 (22:18 -0500)
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.

include/dlfcn.h

index 5b57e8a..e2f57b5 100644 (file)
@@ -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