Lines Matching refs:soname
42 static char *soname;
47 unlink(soname);
48 free(soname);
68 asprintf(&soname, "%s.so", fname);
69 ATF_REQUIRE_MSG(soname != NULL, "asprintf failed; errno=%d", ENOMEM);
70 fd = open(soname, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE);
71 ATF_REQUIRE_MSG(fd != -1, "open(\"%s\") failed; errno=%d", soname, errno);
81 dlh = dlopen(soname, RTLD_LAZY);
86 ATF_REQUIRE_MSG(dlh == NULL, "dlopen(\"%s\") did not fail", soname);
87 unlink(soname);
88 free(soname);