mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 17:25:34 +03:00
man: update sd_get_seats(3)
This commit is contained in:
parent
76ed21e1e6
commit
ff5d2cd03d
@ -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>
|
||||
@ -123,13 +125,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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user