Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/include Pull up revision 1.15 (requested by skrll in ti...



details:   https://anonhg.NetBSD.org/src/rev/ed8fba558e97
branches:  netbsd-1-6
changeset: 531360:ed8fba558e97
user:      tron <tron%NetBSD.org@localhost>
date:      Fri May 28 08:47:34 2004 +0000

description:
Pull up revision 1.15 (requested by skrll in ticket #1702):
Add RTLD_SELF, RTLD_NEXT, RTLD_DEFAULT, from FreeBSD

diffstat:

 include/dlfcn.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r c7ee35ce59eb -r ed8fba558e97 include/dlfcn.h
--- a/include/dlfcn.h   Fri May 28 08:31:22 2004 +0000
+++ b/include/dlfcn.h   Fri May 28 08:47:34 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dlfcn.h,v 1.13 2000/06/13 01:21:53 simonb Exp $        */
+/*     $NetBSD: dlfcn.h,v 1.13.6.1 2004/05/28 08:47:34 tron Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -73,6 +73,13 @@
 #define DL_LAZY                RTLD_LAZY       /* Compat */
 #endif
 
+/* 
+ * Special handle arguments for dlsym()/dlinfo().
+ */   
+#define        RTLD_NEXT       ((void *) -1)   /* Search subsequent objects. */
+#define        RTLD_DEFAULT    ((void *) -2)   /* Use default search algorithm. */
+#define        RTLD_SELF       ((void *) -3)   /* Search the caller itself. */
+
 /*
  * dlctl() commands
  */



Home | Main Index | Thread Index | Old Index