chiark / gitweb /
util: use waitid() instead of waitpid() everywhere to avoid confusion due to SIGSTOP
[elogind.git] / src / util.h
index 3a7ac29fca541918978df8649975713b93ebd3cf..bdd4f15cf2c3f68adf590d08e7fd1e63ff651bb6 100644 (file)
@@ -345,6 +345,8 @@ int touch(const char *path);
 
 char *unquote(const char *s, const char quote);
 
+int wait_for_terminate(pid_t pid, siginfo_t *status);
+
 #define NULSTR_FOREACH(i, l) \
         for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)