X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_seat_get_active.xml;h=b4d044282d72289df148beae73bdad1d62c0102b;hb=e7082c89f1eac3ee251e659ee004f4d29fc284a6;hp=8fda8b3f819b399ae0045199251b272ad6e1d19f;hpb=5f56749cb41c18efcc4ec2a8cd14f5277a8fab20;p=elogind.git diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml index 8fda8b3f8..b4d044282 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -1,34 +1,31 @@ -%entities; -]> + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_seat_get_active - systemd + elogind @@ -56,7 +53,7 @@ - #include <systemd/sd-login.h> + #include <elogind/sd-login.h> int sd_seat_get_active @@ -151,6 +148,43 @@ errno-style error code. + + Errors + + Returned errors may indicate the following problems: + + + + + -ENODATA + + The given field is not specified for the described + seat. + + + + + -ENXIO + + The specified seat is unknown. + + + + + -EINVAL + + An input parameter was invalid (out of range, + or NULL, where that is not accepted). + + + + -ENOMEM + + Memory allocation failed. + + + + Notes @@ -158,7 +192,7 @@ sd_seat_get_sessions(), sd_seat_can_multi_session(), sd_seat_can_tty() and - sd_seat_can_grapical() interfaces are + sd_seat_can_graphical() interfaces are available as a shared library, which can be compiled and linked to with the libelogind pkg-config1 @@ -169,7 +203,7 @@ See Also - systemd1, + elogind8, sd-login3, sd_session_get_seat3