process-util: add pidref_is_unwaited() and make pid_is_unwaited() return errors
This commit is contained in:
@@ -88,7 +88,8 @@ int getenv_for_pid(pid_t pid, const char *field, char **_value);
|
||||
|
||||
int pid_is_alive(pid_t pid);
|
||||
int pidref_is_alive(const PidRef *pidref);
|
||||
bool pid_is_unwaited(pid_t pid);
|
||||
int pid_is_unwaited(pid_t pid);
|
||||
int pidref_is_unwaited(const PidRef *pidref);
|
||||
int pid_is_my_child(pid_t pid);
|
||||
int pidref_is_my_child(const PidRef *pidref);
|
||||
int pid_from_same_root_fs(pid_t pid);
|
||||
|
||||
Reference in New Issue
Block a user