diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-09-11 20:26:01 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-09-11 20:26:01 +0200 |
commit | 782810a8bf1fbc3feaca851a011a8124891d39fc (patch) | |
tree | 6a41fbaea1f899a02af3ed85e7faeb6e9d27e1f1 /src/common/util.h | |
parent | c852760b80c4b7e06d775bafdb1f386d0e8ced63 (diff) | |
download | tor-782810a8bf1fbc3feaca851a011a8124891d39fc.tar.gz tor-782810a8bf1fbc3feaca851a011a8124891d39fc.zip |
Introduce tor_terminate_process() function.
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index 8bf4f7b137..7e889b10c7 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -350,6 +350,7 @@ void write_pidfile(char *filename); void tor_check_port_forwarding(const char *filename, int dir_port, int or_port, time_t now); +int tor_terminate_process(pid_t pid); int tor_spawn_background(const char *const filename, int *stdout_read, int *stderr_read, const char **argv, const char **envp); |