X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsd_seat_get_active.xml;h=b087211bd6c432bf29f594fb84b88647977395cb;hb=eea10b26f78806d7b244af7d37f75fd567c69610;hp=94401caa7280335d5e9fcaee8cbae92f4ba590d7;hpb=2bb4d58eba2fb25f729ed35e7a5a564e6f2ad777;p=thirdparty%2Fsystemd.git diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml index 94401caa728..b087211bd6c 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -1,7 +1,7 @@ - + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> + @@ -99,7 +99,7 @@ On success, sd_seat_get_active() returns 0 or a positive integer. On success, sd_seat_get_sessions() returns the number of entries in the session identifier array. If the test succeeds, - sd_seat_can_tty and sd_seat_can_graphical return a positive + sd_seat_can_tty() and sd_seat_can_graphical() return a positive integer, if it fails 0. On failure, these calls return a negative errno-style error code. @@ -144,19 +144,18 @@ History - In the past, sd_seat_can_multi_session() was used to check whether the seat - supports multiple sessions. All seats support that now, so that function has been deprecated and always - returns true. + sd_seat_can_tty() and + sd_seat_can_graphical() were added in version 186. See Also - - systemd1, - sd-login3, - sd_session_get_seat3 - + + systemd1 + sd-login3 + sd_session_get_seat3 +