X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_seat_get_active.xml;h=acc6ee4ea76a273e116815ab4f880d26353582db;hb=71100051c5d351daac20610f3a4b8c14901088d8;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..acc6ee4ea 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -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