thermal: fix Mediatek thermal controller build
[linux/fpc-iii.git] / tools / lib / subcmd / exec-cmd.h
blob5d08bda31d90f541dd632b8fb8bfaeaec0ceaf8e
1 #ifndef __SUBCMD_EXEC_CMD_H
2 #define __SUBCMD_EXEC_CMD_H
4 extern void exec_cmd_init(const char *exec_name, const char *prefix,
5 const char *exec_path, const char *exec_path_env);
7 extern void set_argv_exec_path(const char *exec_path);
8 extern const char *extract_argv0_path(const char *path);
9 extern void setup_path(void);
10 extern int execv_cmd(const char **argv); /* NULL terminated */
11 extern int execl_cmd(const char *cmd, ...);
12 /* get_argv_exec_path and system_path return malloc'd string, caller must free it */
13 extern char *get_argv_exec_path(void);
14 extern char *system_path(const char *path);
16 #endif /* __SUBCMD_EXEC_CMD_H */