From 50b1678aaba9d3c2be5115db34a822911d791b8c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 11 Feb 2012 03:45:23 +0100 Subject: sd-login: if NULL or 0 is passed as first parameter of the sd_xxx functions, work on objects of the calling process --- man/sd_pid_get_session.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'man/sd_pid_get_session.xml') diff --git a/man/sd_pid_get_session.xml b/man/sd_pid_get_session.xml index bd95804628..94f5330222 100644 --- a/man/sd_pid_get_session.xml +++ b/man/sd_pid_get_session.xml @@ -113,6 +113,10 @@ fail. For processes not being part of a login session and not being a shared process of a user this function will fail. + + If the pid paramater of any + of these functions is passed as 0 the operation is + executed for the calling process. -- cgit v1.2.3-54-g00ecf