perf subcmd: Create subcmd library
[deliverable/linux.git] / tools / lib / subcmd / exec-cmd.h
CommitLineData
8b40f521
JK
1#ifndef __PERF_EXEC_CMD_H
2#define __PERF_EXEC_CMD_H
07800601 3
096d3558
JP
4extern void exec_cmd_init(const char *exec_name, const char *prefix,
5 const char *exec_path, const char *exec_path_env);
6
46113a54
JP
7extern void set_argv_exec_path(const char *exec_path);
8extern const char *extract_argv0_path(const char *path);
07800601 9extern void setup_path(void);
46113a54
JP
10extern int execv_cmd(const char **argv); /* NULL terminated */
11extern int execl_cmd(const char *cmd, ...);
12/* get_argv_exec_path and system_path return malloc'd string, caller must free it */
13extern char *get_argv_exec_path(void);
c4068f51 14extern char *system_path(const char *path);
07800601 15
8b40f521 16#endif /* __PERF_EXEC_CMD_H */
This page took 0.390175 seconds and 5 git commands to generate.