summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-17 22:50:35 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-17 22:50:35 +0200
commit3ba686c107b2b33e706f59432584875a4152d19a (patch)
treef23e1af7167346926e226439f1cf791d5f8b93ff /src/util.h
parent4a2a8b5a82325494f5daf4c66c23fdb4f906c9e6 (diff)
util: implement parse_pid() function
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 1e5ee28eba..1ca8f90cf1 100644
--- a/src/util.h
+++ b/src/util.h
@@ -108,6 +108,7 @@ void close_many(const int fds[], unsigned n_fd);
int parse_boolean(const char *v);
int parse_usec(const char *t, usec_t *usec);
+int parse_pid(const char *s, pid_t* ret_pid);
int safe_atou(const char *s, unsigned *ret_u);
int safe_atoi(const char *s, int *ret_i);