X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Futil.h;h=4bea1ecc04a204aa1f08250cc2d133926480a028;hp=3a7ac29fca541918978df8649975713b93ebd3cf;hb=2e78aa9988425d540a572535fa2e3d68ff519316;hpb=b036fc0050b21fb0d284a11019ea0a77be264296 diff --git a/src/util.h b/src/util.h index 3a7ac29fc..4bea1ecc0 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)