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=4ca3a6c15057ae24b715c0de9fbf9316fbc57dd2;hb=f7e8917981217e60a6b6071c2a1ae6367890eea0;hpb=b952404b9386ed0ef806a830d184f696b2432e77 diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index 4ca3a6c15..c522a8eda 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -3,29 +3,29 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_session_is_active - systemd + elogind @@ -62,7 +62,7 @@ - #include <systemd/sd-login.h> + #include <elogind/sd-login.h> int sd_session_is_active @@ -289,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 @@ -305,7 +342,7 @@ sd_session_get_tty() interfaces are available as a shared library, which can be compiled and linked to with the - libsystemd pkg-config1 + libelogind pkg-config1 file. @@ -313,7 +350,7 @@ See Also - systemd1, + elogind1, sd-login3, sd_pid_get_session3