Lines Matching defs:handle
41 atf_tc_set_md_var(tc, "descr", "dlinfo with RTLD_SELF handle works");
56 atf_tc_set_md_var(tc, "descr", "dlinfo with invalid handle fails");
70 atf_tc_set_md_var(tc, "descr", "dlinfo dlopen'd handle works");
75 void *handle;
78 handle = dlopen("libutil.so", RTLD_LAZY);
79 ATF_REQUIRE_MSG(handle, "dlopen: %s", dlerror());
81 rv = dlinfo(handle, RTLD_DI_LINKMAP, &map);
84 ATF_CHECK_EQ_MSG(dlclose(handle), 0, "dlclose: %s", dlerror());
95 void *handle;
97 handle = dlopen("libutil.so", RTLD_LAZY);
98 ATF_REQUIRE_MSG(handle, "dlopen: %s", dlerror());