Searched refs:RTLD_MAIN_ONLY (Results 1 - 4 of 4) sorted by relevance

/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/dlsym-RTLD_MAIN_ONLY/
H A Dmain.c39 if ( dlsym(RTLD_MAIN_ONLY, "foo") != &foo ) {
40 FAIL("dlsym(RTLD_MAIN_ONLY, \"foo\") returned wrong value");
44 if ( dlsym(RTLD_MAIN_ONLY, "bar") != NULL ) {
45 FAIL("dlsym(RTLD_MAIN_ONLY, \"bar\") returned non-NULL");
49 PASS("dlsym-RTLD_MAIN_ONLY");
/macosx-10.9.5/dyld-239.4/include/
H A Ddlfcn.h81 #define RTLD_MAIN_ONLY ((void *) -5) /* Search main executable only (Mac OS X 10.5 and later) */ macro
/macosx-10.9.5/Libc-997.90.3/os/
H A Dtrace.c103 g->redirect = dlsym(RTLD_MAIN_ONLY, "_os_trace_redirect_func");
/macosx-10.9.5/dyld-239.4/src/
H A DdyldAPIs.cpp1414 return RTLD_MAIN_ONLY;
1571 if ( handle == RTLD_MAIN_ONLY )
1693 if ( handle == RTLD_MAIN_ONLY ) {
1700 const char* str = dyld::mkstringf("dlsym(RTLD_MAIN_ONLY, %s): symbol not found", symbolName);

Completed in 69 milliseconds