chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: use waitid() instead of waitpid() everywhere to avoid confusion due to SIGSTOP
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index 3a7ac29fca541918978df8649975713b93ebd3cf..bdd4f15cf2c3f68adf590d08e7fd1e63ff651bb6 100644
(file)
--- 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 wait_for_terminate(pid_t pid, siginfo_t *status);
+
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)