Lines Matching defs:binpath
505 const char *argv0, *binpath, *library_path_rpath, *static_tls_extra;
604 binpath = NULL;
607 search_in_path, &binpath);
687 if (binpath == NULL) {
697 __DECONST(void *, binpath);
6083 char *binpath, *pathenv, *pe, *res1;
6087 binpath = NULL;
6090 binpath = xmalloc(PATH_MAX);
6104 if (strlcpy(binpath, pe, PATH_MAX) >= PATH_MAX)
6106 if (binpath[0] != '\0' &&
6107 strlcat(binpath, "/", PATH_MAX) >= PATH_MAX)
6109 if (strlcat(binpath, argv0, PATH_MAX) >= PATH_MAX)
6111 fd = open(binpath, O_RDONLY | O_CLOEXEC | O_VERIFY);
6113 res = binpath;