X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_pid_get_session.xml;h=9517795f78eb3c11fea00aaf1b84e44b315f3566;hb=630d4e14083fc3798b757604eb2055822b77608b;hp=bd958046281af9a1952fb600ef8d816f7aced44e;hpb=94fb446e55babb713fb24850455627acf30d999b;p=elogind.git
diff --git a/man/sd_pid_get_session.xml b/man/sd_pid_get_session.xml
index bd9580462..9517795f7 100644
--- a/man/sd_pid_get_session.xml
+++ b/man/sd_pid_get_session.xml
@@ -8,16 +8,16 @@
Copyright 2010 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
systemd is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
+ Lesser General Public License for more details.
- You should have received a copy of the GNU General Public License
+ You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see .
-->
@@ -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 parameter of any
+ of these functions is passed as 0 the operation is
+ executed for the calling process.
@@ -147,7 +151,7 @@
systemd1,
- sd-login7,
+ sd-login3,
sd_session_is_active3,
getsid2