aboutsummaryrefslogtreecommitdiff
path: root/lib/csu/i386/dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/i386/dlfcn.h')
-rw-r--r--lib/csu/i386/dlfcn.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/csu/i386/dlfcn.h b/lib/csu/i386/dlfcn.h
index feadf90bc6c7..b6817fe03b26 100644
--- a/lib/csu/i386/dlfcn.h
+++ b/lib/csu/i386/dlfcn.h
@@ -43,6 +43,13 @@
#define RTLD_LAZY 1 /* Bind function calls lazily */
#define RTLD_NOW 2 /* Bind function calls immediately */
+/*
+ * 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.
+ */
+#define RTLD_NEXT ((void *) -1)
+
__BEGIN_DECLS
void *dlopen __P((char *, int));
void *dlsym __P((void *, char *));