]> git.saurik.com Git - apple/dyld.git/blobdiff - include/dlfcn.h
dyld-195.6.tar.gz
[apple/dyld.git] / include / dlfcn.h
index 2e502c554f560d13111328433d0dba1f963e9a4e..7e4ae35cfa2c0d46c09b0b0d84e2f8abd813b6e3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2004-2008 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -75,9 +75,10 @@ extern bool dlopen_preflight(const char* __path) AVAILABLE_MAC_OS_X_VERSION_10_5
 /*
  * Special handle arguments for dlsym().
  */
-#define        RTLD_NEXT               ((void *) -1)   /* Search subsequent objects. */
+#define        RTLD_NEXT       ((void *) -1)   /* Search subsequent objects. */
 #define        RTLD_DEFAULT    ((void *) -2)   /* Use default search algorithm. */
-#define        RTLD_SELF               ((void *) -3)   /* Search this and subsequent objects (Mac OS X 10.5 and later) */
+#define        RTLD_SELF       ((void *) -3)   /* Search this and subsequent objects (Mac OS X 10.5 and later) */
+#define        RTLD_MAIN_ONLY  ((void *) -5)   /* Search main executable only (Mac OS X 10.5 and later) */
 #endif /* not POSIX */
 
 #ifdef __cplusplus