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: introduce waitpid_loop()
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index 3a7ac29fca541918978df8649975713b93ebd3cf..4bea1ecc04a204aa1f08250cc2d133926480a028 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 waitpid_loop(pid_t pid, int *status);
+
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)