X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsd_seat_get_active.xml;h=b087211bd6c432bf29f594fb84b88647977395cb;hb=eea10b26f78806d7b244af7d37f75fd567c69610;hp=9cdbf357e7ce5002da1010fd88ec5368bf9c72ec;hpb=df80c98cdece42c6b49f4c9adc45017b0b0582c6;p=thirdparty%2Fsystemd.git diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml index 9cdbf357e7c..b087211bd6c 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -1,6 +1,6 @@ + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> 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 +