X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_uid_get_state.xml;h=30b254c805b6273d3e3406ae0fa7299aebb14545;hb=feef0842cfa8abe8b76c16e026217bad7e90f283;hp=d4d23f4f1d703d813a3cc99178252070ca18f3a1;hpb=79640424059328268b9fb6c5fa8eb777b27a177e;p=elogind.git diff --git a/man/sd_uid_get_state.xml b/man/sd_uid_get_state.xml index d4d23f4f1..30b254c80 100644 --- a/man/sd_uid_get_state.xml +++ b/man/sd_uid_get_state.xml @@ -139,7 +139,7 @@ be returned and should be considered equivalent to an empty array. - Similar, sd_uid_get_seats() + Similarly, sd_uid_get_seats() may be used to determine the list of seats on which the user currently has sessions. Similar semantics apply, however note that the user may have @@ -152,11 +152,11 @@ Return Value - On success + On success, sd_uid_get_state() returns 0 or a positive integer. If the test succeeds, sd_uid_is_on_seat() returns a - positive integer, if it fails + positive integer; if it fails, 0. sd_uid_get_sessions() and sd_uid_get_seats() return the number of entries in the returned arrays. On failure, @@ -171,7 +171,7 @@ sd_uid_is_on_seat(), sd_uid_get_sessions(), and sd_uid_get_seats() interfaces are - available as shared library, which can be compiled and + available as a shared library, which can be compiled and linked to with the libsystemd-login pkg-config1 file.