diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-15 14:37:16 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-15 14:37:45 +0200 |
commit | 2e78aa9988425d540a572535fa2e3d68ff519316 (patch) | |
tree | 33d1d0a9bd0bd7adc59336137c544a86e3070b9c /src/util.h | |
parent | b036fc0050b21fb0d284a11019ea0a77be264296 (diff) |
util: introduce waitpid_loop()
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 3a7ac29fca..4bea1ecc04 100644 --- a/src/util.h +++ b/src/util.h @@ -345,6 +345,8 @@ int touch(const char *path); char *unquote(const char *s, const char quote); +int waitpid_loop(pid_t pid, int *status); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1) |