Move pid_running() to process.h

This commit is contained in:
Robbert van der Helm
2022-04-11 13:20:51 +02:00
parent 0d6738093c
commit 60e4619ef1
5 changed files with 30 additions and 25 deletions
+6
View File
@@ -25,6 +25,12 @@
// pulling in Boost.Process' Boost.Filesystem dependency (which would defeat the
// entire purpose).
/**
* Check whether a process with the given PID is still active (and not a
* zombie).
*/
bool pid_running(pid_t pid);
/**
* Helper to create an `environ`-like environment object for passing to the
* `exec*e()` family of functions.