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=d04b238170998e0cbcc86db0f8ae66c3ee4a14d6;hp=4218f73818c0f12277b93a4f4b0d5ce1acf35ca4;hpb=7586a2e532d8dcb2428edd4e98c3534fc6f22061;p=elogind.git diff --git a/man/sd_uid_get_state.xml b/man/sd_uid_get_state.xml index 4218f7381..eb20c4494 100644 --- a/man/sd_uid_get_state.xml +++ b/man/sd_uid_get_state.xml @@ -169,6 +169,45 @@ errno-style error code. + + Errors + + 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. + + + + Notes @@ -178,19 +217,6 @@ entry. - - 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. - - sd_uid_get_display() was added in - systemd-213. - - See Also