Home
last modified time | relevance | path

Searched refs:subcmd_config (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/lib/subcmd/
H A Dexec-cmd.c23 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()
H A Dsubcmd-config.h5 struct subcmd_config { struct
13 extern struct subcmd_config subcmd_config; argument
H A Dsubcmd-config.c6 struct subcmd_config subcmd_config = { variable
H A Dpager.c23 subcmd_config.pager_env = pager_env; in pager_init()
73 const char *pager = getenv(subcmd_config.pager_env); in setup_pager()
H A Dparse-options.c641 astrcatf(&buf, "%s %s [<options>] {", subcmd_config.exec_name, argv[0]); in parse_options_subcommand()