From: Yu Watanabe Date: Wed, 31 May 2017 15:27:47 +0000 (+0900) Subject: man: update sd_get_seats(3) X-Git-Tag: chiark/234.4-1+devuan1.1+iwj1~114 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=bd619e1c6a59c7fef4b277ca3090c09c1e73007f man: update sd_get_seats(3) --- diff --git a/man/sd_get_seats.xml b/man/sd_get_seats.xml index 963213797..95e8b362b 100644 --- a/man/sd_get_seats.xml +++ b/man/sd_get_seats.xml @@ -81,8 +81,10 @@ Description sd_get_seats() may be used to determine - all currently available local seats. Returns a - NULL terminated array of seat identifiers. + all currently available local seats. Returns the number of seat + identifiers and if the input pointer is non-NULL, a + NULL-terminated array of seat identifiers + is stored at the address. The returned array and all strings it references need to be freed with the libc free3 @@ -123,13 +125,6 @@ - - -EINVAL - - An input parameter was invalid (out of range, - or NULL, where that is not accepted). - - -ENOMEM