From 595aae376fae21f885ec9af2cac1aaf3ff3e9bee Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 19 Dec 2011 14:42:59 +0100 Subject: man: various updates --- man/sd_get_seats.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'man/sd_get_seats.xml') diff --git a/man/sd_get_seats.xml b/man/sd_get_seats.xml index bbc396a09b..2ac76500ec 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 -- cgit v1.2.3-54-g00ecf