X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_session_is_active.xml;h=11171473b12b013b3ebc5c4ea683d6f31470a672;hp=70d201e29b7f5d580f4b1c078c6d1394780a0d81;hb=35bd3f136e3762fe35289def573133a1d9ac8a04;hpb=5f56749cb41c18efcc4ec2a8cd14f5277a8fab20 diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index 70d201e29..11171473b 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -1,34 +1,31 @@ -%entities; -]> + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_session_is_active - systemd + elogind @@ -65,7 +62,7 @@ - #include <systemd/sd-login.h> + #include <elogind/sd-login.h> int sd_session_is_active @@ -292,6 +289,43 @@ negative errno-style error code. + + Errors + + Returned errors may indicate the following problems: + + + + + -ENXIO + + The specified session does not exist. + + + + + -ENODATA + + Given field is not specified for the described + session. + + + + + -EINVAL + + An input parameter was invalid (out of range, + or NULL, where that's not accepted). + + + + -ENOMEM + + Memory allocation failed. + + + + Notes @@ -316,7 +350,7 @@ See Also - systemd1, + elogind8, sd-login3, sd_pid_get_session3