Lines Matching defs:lib
108 char lib[PATH_MAX];
135 x = lib + sizeof(lib) - 1;
136 k = lib + sfsprintf(lib, x - lib, "lib/%s/", probe);
142 if (pathpath(path, lib, "", PATH_ABSOLUTE) && !stat(path, &st) && (st.st_mode & S_IWUSR))
146 if (!pathpath(path, lib, "", PATH_ABSOLUTE|PATH_EXECUTE) || stat(path, &ps))
166 * yes lib/probe/<lang>/<proc>/probe
167 * no lib/probe/probe
172 sfsprintf(exe, sizeof(exe), "lib/%s/%s", probe, probe);
182 pathcat(path, dir, ':', "..", lib);