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=c522a8eda565c2a822aec1345ce7aab4cf905ec0;hp=70d201e29b7f5d580f4b1c078c6d1394780a0d81;hb=f7e8917981217e60a6b6071c2a1ae6367890eea0;hpb=5f56749cb41c18efcc4ec2a8cd14f5277a8fab20 diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index 70d201e29..c522a8eda 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, + elogind1, sd-login3, sd_pid_get_session3