diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-06-21 16:52:54 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-06-21 16:52:54 +0200 |
commit | 20747498c68575646fae88f4dd270fab219a25a6 (patch) | |
tree | 5c229f9401637bd431c105849a3df5a34a5c9e5d /man/sd_session_is_active.xml | |
parent | 7ea9cb91207f49965bc23bfdac9d5475940bea51 (diff) |
login: wrap CanTTY and CanGraphical seat attributes in libsystemd-login
Diffstat (limited to 'man/sd_session_is_active.xml')
-rw-r--r-- | man/sd_session_is_active.xml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index f9b2874541..a14286aeab 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -198,9 +198,13 @@ <para>If the test succeeds <function>sd_session_is_active()</function> returns a positive integer, if it fails 0. On success + <function>sd_session_get_state()</function>, <function>sd_session_get_uid()</function>, - <function>sd_session_get_service()</function> and - <function>sd_session_get_seat()</function> return 0 or + <function>sd_session_get_seat()</function>, + <function>sd_session_get_service()</function>, + <function>sd_session_get_type()</function>, + <function>sd_session_get_class()</function> and + <function>sd_session_get_display()</function> return 0 or a positive integer. On failure, these calls return a negative errno-style error code.</para> </refsect1> @@ -209,9 +213,13 @@ <title>Notes</title> <para>The <function>sd_session_is_active()</function>, + <function>sd_session_get_state()</function>, <function>sd_session_get_uid()</function>, - <function>sd_session_get_service()</function> and - <function>sd_session_get_seat()</function> interfaces + <function>sd_session_get_seat()</function>, + <function>sd_session_get_service()</function>, + <function>sd_session_get_type()</function>, + <function>sd_session_get_class()</function> and + <function>sd_session_get_display()</function> interfaces are available as shared library, which can be compiled and linked to with the <literal>libsystemd-login</literal> |