summaryrefslogtreecommitdiff
path: root/src/basic/process-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 13:56:40 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:56:40 +0100
commit405f8907b9da158b8548a4d9b85871406fcc2801 (patch)
tree504b4b05f99b97b058f04a06a379ba0c8651f24b /src/basic/process-util.h
parent4e036b7a96b7a72461bdb68ded304041e892b8eb (diff)
process-util: actually move rename_process() over
The prototype was moved long ago, actually move the definition over now, too.
Diffstat (limited to 'src/basic/process-util.h')
-rw-r--r--src/basic/process-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/process-util.h b/src/basic/process-util.h
index db32a34ef3..31f760981e 100644
--- a/src/basic/process-util.h
+++ b/src/basic/process-util.h
@@ -60,8 +60,10 @@ void sigkill_wait(pid_t *pid);
int kill_and_sigcont(pid_t pid, int sig);
pid_t get_parent_of_pid(pid_t pid, pid_t *ppid);
+
void rename_process(const char name[8]);
int is_kernel_thread(pid_t pid);
+
int getenv_for_pid(pid_t pid, const char *field, char **_value);
bool pid_is_alive(pid_t pid);