summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-06-01 00:27:47 +0900
committerSven Eden <yamakuzure@gmx.net>2017-07-25 09:46:52 +0200
commitbd619e1c6a59c7fef4b277ca3090c09c1e73007f (patch)
tree38a8c8e780d5d9478c53cbb63d8c276b51699cc5 /man
parente9eacf18de0e1fe360469958095d9e22bc7b36b2 (diff)
man: update sd_get_seats(3)
Diffstat (limited to 'man')
-rw-r--r--man/sd_get_seats.xml13
1 files changed, 4 insertions, 9 deletions
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 @@
<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>
@@ -124,13 +126,6 @@
<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>
<listitem><para>Memory allocation failed.</para></listitem>