summaryrefslogtreecommitdiff
path: root/man/sd_pid_get_session.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-02-11 03:45:23 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-13 23:50:02 +0100
commit50b1678aaba9d3c2be5115db34a822911d791b8c (patch)
tree19c891bcebda0d73b22f2a527cc3b5303010b59a /man/sd_pid_get_session.xml
parent3d88c0a7d1b3acafdf5311a6081256bd90cc1103 (diff)
sd-login: if NULL or 0 is passed as first parameter of the sd_xxx functions, work on objects of the calling process
Diffstat (limited to 'man/sd_pid_get_session.xml')
-rw-r--r--man/sd_pid_get_session.xml4
1 files changed, 4 insertions, 0 deletions
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.</para>
+
+ <para>If the <literal>pid</literal> paramater of any
+ of these functions is passed as 0 the operation is
+ executed for the calling process.</para>
</refsect1>
<refsect1>