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: unify getenv() logic for other PID
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index a26c1d9d0613e1f100c8c1bfe17548cd8074a338..17ffd19f55415cfc0c4759021df1d442c14f3fe2 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-540,4
+540,6
@@
int fork_agent(pid_t *pid, const int except[], unsigned n_except, const char *pa
int setrlimit_closest(int resource, const struct rlimit *rlim);
+int getenv_for_pid(pid_t pid, const char *field, char **_value);
+
#endif