summaryrefslogtreecommitdiff
path: root/man/sd_session_is_active.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_session_is_active.xml
parent3d88c0a7d1b3acafdf5311a6081256bd90cc1103 (diff)
downloadsystemd-50b1678aaba9d3c2be5115db34a822911d791b8c.tar.gz
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_session_is_active.xml')
-rw-r--r--man/sd_session_is_active.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml
index 516275ea9f..5db305d467 100644
--- a/man/sd_session_is_active.xml
+++ b/man/sd_session_is_active.xml
@@ -110,6 +110,11 @@
the libc
<citerefentry><refentrytitle>free</refentrytitle><manvolnum>3</manvolnum></citerefentry>
call after use.</para>
+
+ <para>If the <literal>session</literal> parameter of
+ any of these functions is passed as NULL the operation
+ is executed for the session the calling process is a
+ member of, if there is any.</para>
</refsect1>
<refsect1>