sd_seat_get_active.xml | sd_seat_get_active.xml | |||
---|---|---|---|---|
skipping to change at line 96 | skipping to change at line 96 | |||
</refsynopsisdiv> | </refsynopsisdiv> | |||
<refsect1> | <refsect1> | |||
<title>Description</title> | <title>Description</title> | |||
<para><function>sd_seat_get_active()</function> may be | <para><function>sd_seat_get_active()</function> may be | |||
used to determine which session is currently active on | used to determine which session is currently active on | |||
a seat, if there is any. Returns the session | a seat, if there is any. Returns the session | |||
identifier and the user identifier of the Unix user | identifier and the user identifier of the Unix user | |||
the session is belonging to. Either the session or the | the session is belonging to. Either the session or the | |||
user identifier parameter can be be passed NULL, in | user identifier parameter can be passed NULL, in | |||
case only one of the parameters shall be queried. The | case only one of the parameters shall be queried. The | |||
returned string needs to be freed with the libc | returned string needs to be freed with the libc | |||
<citerefentry><refentrytitle>free</refentrytitle><manvolnum >3</manvolnum></citerefentry> | <citerefentry><refentrytitle>free</refentrytitle><manvolnum >3</manvolnum></citerefentry> | |||
call after use.</para> | call after use.</para> | |||
<para><function>sd_seat_get_sessions()</function> may | <para><function>sd_seat_get_sessions()</function> may | |||
be used to determine all sessions on the specified | be used to determine all sessions on the specified | |||
seat. Returns two arrays, one (NULL terminated) with | seat. Returns two arrays, one (NULL terminated) with | |||
the session identifiers of the sessions and one with | the session identifiers of the sessions and one with | |||
the user identifiers of the Unix users the sessions | the user identifiers of the Unix users the sessions | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |