diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-26 01:13:11 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-26 01:24:39 +0100 |
commit | 4d0d3d41d21f34f28ee67b8b1952af88ada7abaf (patch) | |
tree | 82303ad33953a655b9eaa75324e929a38146dff8 /src/basic/process-util.h | |
parent | 2583fbea8e762d2e915582af60560f884d5093f5 (diff) |
process-util: move more process related calls to process-util.[ch]
Diffstat (limited to 'src/basic/process-util.h')
-rw-r--r-- | src/basic/process-util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/process-util.h b/src/basic/process-util.h index 07431d043b..2c0d1af000 100644 --- a/src/basic/process-util.h +++ b/src/basic/process-util.h @@ -55,6 +55,9 @@ int get_process_environ(pid_t pid, char **environ); int wait_for_terminate(pid_t pid, siginfo_t *status); int wait_for_terminate_and_warn(const char *name, pid_t pid, bool check_exit_code); +void sigkill_wait(pid_t *pid); +#define _cleanup_sigkill_wait_ _cleanup_(sigkill_wait) + int kill_and_sigcont(pid_t pid, int sig); pid_t get_parent_of_pid(pid_t pid, pid_t *ppid); void rename_process(const char name[8]); |