summaryrefslogtreecommitdiffstats
path: root/include/dlfcn.h
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>2000-09-19 04:24:50 +0000
committerjdp <jdp@FreeBSD.org>2000-09-19 04:24:50 +0000
commit5cb81fbe56fdfba617b2659b893f38d0ba2a7471 (patch)
treee9fd1fa66ba1e53601629b5a4ae386ed62b68e45 /include/dlfcn.h
parent24a6df9a6ed93833d0680b6f5bc0ccadcea8ab57 (diff)
downloadFreeBSD-src-5cb81fbe56fdfba617b2659b893f38d0ba2a7471.zip
FreeBSD-src-5cb81fbe56fdfba617b2659b893f38d0ba2a7471.tar.gz
Add a definition for RTLD_DEFAULT.
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 14a2b4d..1669560 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -47,11 +47,10 @@
#define RTLD_LOCAL 0 /* Opposite of RTLD_GLOBAL, and the default */
/*
- * Special handle argument for dlsym(). It causes the search for the
- * symbol to begin in the next shared object after the one containing
- * the caller.
+ * Special handle arguments for dlsym().
*/
-#define RTLD_NEXT ((void *) -1)
+#define RTLD_NEXT ((void *) -1) /* Search subsequent objects */
+#define RTLD_DEFAULT ((void *) -2) /* Use default search algorithm */
/*
* Structure filled in by dladdr().
OpenPOWER on IntegriCloud