X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_session_is_active.xml;h=d457010b8a49c3be14f42f7ad0c5858500461107;hb=d04b238170998e0cbcc86db0f8ae66c3ee4a14d6;hp=55726f96a83f1ad5e0fc75af561db7d07bf08b73;hpb=1532f28b7cf3e6e02e74691450b2b5379be6b805;p=elogind.git diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index 55726f96a..d457010b8 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -184,8 +184,9 @@ sd_session_get_seat() may be used to determine the seat identifier of the seat the session identified by the specified session identifier belongs to. Note that not all - sessions are attached to a seat, this call will fail for them. The - returned string needs to be freed with the libc + sessions are attached to a seat, this call will fail (returning + -ENODATA) for them. The returned string needs + to be freed with the libc free3 call after use. @@ -289,6 +290,43 @@ negative errno-style error code. + + Errors + + Returned errors may indicate the following problems: + + + + + -ENXIO + + The specified session does not exist. + + + + + -ENODATA + + The given field is not specified for the described + session. + + + + + -EINVAL + + An input parameter was invalid (out of range, + or NULL, where that is not accepted). + + + + -ENOMEM + + Memory allocation failed. + + + + Notes @@ -313,7 +351,7 @@ See Also - elogind1, + elogind8, sd-login3, sd_pid_get_session3