Searched refs:subcmd_config (Results 1 – 5 of 5) sorted by relevance
23 subcmd_config.exec_name = exec_name; in exec_cmd_init()24 subcmd_config.prefix = prefix; in exec_cmd_init()25 subcmd_config.exec_path = exec_path; in exec_cmd_init()26 subcmd_config.exec_path_env = exec_path_env; in exec_cmd_init()84 astrcatf(&buf, "%s/%s", subcmd_config.prefix, path); in system_path()114 setenv(subcmd_config.exec_path_env, exec_path, 1); in set_argv_exec_path()126 env = getenv(subcmd_config.exec_path_env); in get_argv_exec_path()130 return system_path(subcmd_config.exec_path); in get_argv_exec_path()177 nargv[0] = subcmd_config.exec_name; in prepare_exec_cmd()188 execvp(subcmd_config.exec_name, (char **)nargv); in execv_cmd()
5 struct subcmd_config { struct13 extern struct subcmd_config subcmd_config; argument
6 struct subcmd_config subcmd_config = { variable
23 subcmd_config.pager_env = pager_env; in pager_init()73 const char *pager = getenv(subcmd_config.pager_env); in setup_pager()
640 astrcatf(&buf, "%s %s [<options>] {", subcmd_config.exec_name, argv[0]); in parse_options_subcommand()