X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_uid_get_state.xml;h=01ad0abfceb0b6384ef5c9c555a2ea8e1b269e01;hb=f1721625e7145977ba705e169580f2eb0002600c;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..01ad0abfc 100644 --- a/man/sd_uid_get_state.xml +++ b/man/sd_uid_get_state.xml @@ -57,28 +57,28 @@ int sd_uid_get_state uid_t uid - char** state + char **state int sd_uid_is_on_seat uid_t uid int require_active - const char* seat + const char *seat int sd_uid_get_sessions uid_t uid int require_active - char*** sessions + char ***sessions int sd_uid_get_seats uid_t uid int require_active - char*** seats + char ***seats @@ -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,8 +171,8 @@ 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 - linked to with the libsystemd-login pkg-config1 + available as a shared library, which can be compiled and + linked to with the libsystemd pkg-config1 file.