]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: update sd_get_seats(3) 6058/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 31 May 2017 15:27:47 +0000 (00:27 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 31 May 2017 23:24:47 +0000 (19:24 -0400)
man/sd_get_seats.xml

index 37eb3fc8945047de89f780bacacd7021ded1b1f3..c053144483b6b20b57cf627dd8df47bd5abb9786 100644 (file)
     <title>Description</title>
 
     <para><function>sd_get_seats()</function> may be used to determine
-    all currently available local seats. Returns a
-    <constant>NULL</constant> 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
+    <constant>NULL</constant>-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
     <citerefentry project='man-pages'><refentrytitle>free</refentrytitle><manvolnum>3</manvolnum></citerefentry>
 
     <variablelist>
 
-      <varlistentry>
-        <term><constant>-EINVAL</constant></term>
-
-        <listitem><para>An input parameter was invalid (out of range,
-        or NULL, where that is not accepted).</para></listitem>
-      </varlistentry>
-
       <varlistentry>
         <term><constant>-ENOMEM</constant></term>