chiark / gitweb /
systemd-analyze: switch to python getopt for argument parsing
[elogind.git] / man / sd_pid_get_session.xml
index bd958046281af9a1952fb600ef8d816f7aced44e..9a1b1997d96ac3da5a82f6d1f0d9f35ffd1ac16e 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
 -->
 
                 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>