Remove unused variable prefix
[git-cheetah/kirill.git] / common / systeminfo.h
blobe04043b2a3fa1171704c0e0d071b083c42b3e7fd
1 #ifndef SYSTEMINFO_H
2 #define SYSTEMINFO_H
5 /* git_path returns additions to the systems path variable and is used
6 * by exec_program for the environment. If an implementation does not
7 * want to add anything to the path it should return an empty string. An
8 * error is indicated by returning NULL.
9 */
10 const char *git_path();
12 /* opens a message box with ok button on this platform */
13 void message_box(const char *string);
15 /* returns true if path is a directory */
16 int is_directory(const char *path);
18 pid_t fork_process(const char *cmd, const char **args, const char *wd);
20 /* returns 1 on success 0 on timeout and -1 on failure to get exit code
22 int wait_for_process(pid_t pid, int max_time, int *errcode);
24 #ifndef _WIN32
25 #define close_process
26 #else
27 void close_process(pid_t pid);
28 #endif
30 #endif /* SYSTEMINFO_H */