Lines Matching refs:path
125 static void exec_woman_emacs(const char *path, const char *page)
131 if (!path)
132 path = "emacsclient";
134 execlp(path, "emacsclient", "-e", man_page, NULL);
137 exec_failed(path);
141 static void exec_man_konqueror(const char *path, const char *page)
150 if (path) {
151 const char *file = strrchr(path, '/');
153 char *new = strdup(path);
158 path = new;
163 path = "kfmclient";
165 execlp(path, filename, "newTab", man_page, NULL);
168 exec_failed(path);
172 static void exec_man_man(const char *path, const char *page)
174 if (!path)
175 path = "man";
176 execlp(path, "man", page, NULL);
177 exec_failed(path);
223 pr_warning("'%s': path for unsupported man viewer.\n"
244 unsupported_man_viewer(name, "path");
261 if (!strcmp(subkey, ".path")) {
335 /* We should always put ':' after our path. If there is no
343 pr_err("Unable to setup man path");
393 char path[PATH_MAX];
396 if (stat(mkpath(path, sizeof(path), "%s/perf.html", html_path), &st)
411 static void open_html(const char *path)
413 execl_cmd("web--browse", "-c", "help.browser", path, NULL);