Lines Matching defs:binpath
366 const char *binpath;
466 binpath = NULL;
468 fd = open_binary_fd(argv0, search_in_path, &binpath);
529 if (binpath == NULL) {
537 binpath);
5502 char *pathenv, *pe, *binpath;
5506 binpath = xmalloc(PATH_MAX);
5520 if (strlcpy(binpath, pe, PATH_MAX) >= PATH_MAX)
5522 if (binpath[0] != '\0' &&
5523 strlcat(binpath, "/", PATH_MAX) >= PATH_MAX)
5525 if (strlcat(binpath, argv0, PATH_MAX) >= PATH_MAX)
5527 fd = open(binpath, O_RDONLY | O_CLOEXEC | O_VERIFY);
5529 *binpath_res = binpath;
5538 /* XXXKIB Use getcwd() to resolve relative binpath to absolute. */