X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_uid_get_state.xml;h=eb20c4494f860ef6c517d834c918f70ffc37572e;hb=f6db7e82993749f55980c03c39c19b29c74e30b7;hp=b158f3528cf193e2b3f82ba7b48ca83fb2d1511c;hpb=798d3a524ea57aaf40cb53858aaa45ec702f012d;p=elogind.git diff --git a/man/sd_uid_get_state.xml b/man/sd_uid_get_state.xml index b158f3528..eb20c4494 100644 --- a/man/sd_uid_get_state.xml +++ b/man/sd_uid_get_state.xml @@ -170,25 +170,51 @@ - Notes + Errors - Functions described here are available as a shared library, - and can be compiled and linked to using the - libsystemd pkg-config1 - entry. + Returned errors may indicate the following problems: + + + + + -ENODATA + + The given field is not specified for the described + user. + + + + + -ENXIO + + The specified seat is unknown. + + + + + -EINVAL + + An input parameter was invalid (out of range, + or NULL, where that is not accepted). This is also returned if + the passed user ID is 0xFFFF or 0xFFFFFFFF, which are + undefined on Linux. + + + + -ENOMEM + + Memory allocation failed. + + - History - - sd_uid_get_state(), - sd_uid_is_on_seat(), - sd_uid_get_sessions(), and - sd_uid_get_seats() functions were added in - systemd-31. + Notes - sd_uid_get_display() was added in - systemd-213. + Functions described here are available as a shared library, + and can be compiled and linked to using the + libelogind pkg-config1 + entry.