X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_get_seats.xml;h=2ac76500ec8dc409fb22a996a212e849d5b74f60;hp=bbc396a09b3601d7ae0aa636149cd81d5d2cec9c;hb=64661ee70d5a10c6208a1cb66ecd8b158e2d8bc5;hpb=0b3b020a178cf3b957fed627de13c895773995ec diff --git a/man/sd_get_seats.xml b/man/sd_get_seats.xml index bbc396a09..2ac76500e 100644 --- a/man/sd_get_seats.xml +++ b/man/sd_get_seats.xml @@ -76,11 +76,13 @@ sd_get_seats() may be used to determine all currently available local - seats. Returns an array of seat identifiers. The - returned array and all strings it references need to - be freed with the libc + seats. Returns a NULL terminated array of seat + identifiers. The returned array and all strings it + references 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. Similar, sd_get_sessions() may be used to determine all current login sessions. @@ -118,7 +120,7 @@ systemd1, sd-login7, - sd_session_get_seat3, + sd_session_get_seat3