From ff5d2cd03dc4a285f0f13cab53dfb9f78af2edf6 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 1 Jun 2017 00:27:47 +0900 Subject: [PATCH] man: update sd_get_seats(3) --- man/sd_get_seats.xml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/man/sd_get_seats.xml b/man/sd_get_seats.xml index 37eb3fc..c053144 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 @@ -124,13 +126,6 @@ - -EINVAL - - An input parameter was invalid (out of range, - or NULL, where that is not accepted). - - - -ENOMEM Memory allocation failed. -- 2.7.4