X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_get_seats.xml;h=2ac76500ec8dc409fb22a996a212e849d5b74f60;hb=595aae376fae21f885ec9af2cac1aaf3ff3e9bee;hp=bbc396a09b3601d7ae0aa636149cd81d5d2cec9c;hpb=01448ff92d9549785242ffab453bf5bcde348c61;p=elogind.git 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