X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_seat_get_active.xml;h=997c3889012e1bc4ef53fbda53459ca6ba7b133e;hb=c8021373fb7762183487fde795aa5cb9d5ea5a1c;hp=e729a653b7dbb8374f19f9d83badd40d1c0fbc29;hpb=0b3b020a178cf3b957fed627de13c895773995ec;p=elogind.git
diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml
index e729a653b..997c38890 100644
--- a/man/sd_seat_get_active.xml
+++ b/man/sd_seat_get_active.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 .
-->
@@ -70,7 +70,7 @@
int sd_seat_can_multi_session
- const char* session
+ const char* seat
@@ -101,13 +101,20 @@
determined. The arrays and the strings referenced by
them need to be freed with the libc
free3
- call after use.
+ call after use. Note that instead of an empty array
+ NULL may be returned and should be considered
+ equivalent to an empty array.
sd_seat_can_multi_session()
may be used to determine whether a specific seat is
capable of multi-session, i.e. allows multiple login
sessions in parallel (whith only one being active at a
time).
+
+ If the seat parameter of any
+ of these functions is passed as NULL the operation is
+ executed for the seat of the session of the calling
+ process, if there is any.
@@ -143,7 +150,7 @@
systemd1,
sd-login7,
- sd_session_get_seat3,
+ sd_session_get_seat3