X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_seat_get_active.xml;h=82a1ea0481cd11ed811563638006fcd2b53f1865;hb=dac051ad6893dcf3e1a69d40eea02682220e71d4;hp=997c3889012e1bc4ef53fbda53459ca6ba7b133e;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml index 997c38890..82a1ea048 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -72,6 +72,16 @@ int sd_seat_can_multi_session const char* seat + + + int sd_seat_can_tty + const char* seat + + + + int sd_seat_can_graphical + const char* seat + @@ -111,6 +121,15 @@ sessions in parallel (whith only one being active at a time). + sd_seat_can_tty() may be + used to determine whether a specific seat provides TTY + functionality, i.e. is useful as a text console. + + sd_seat_can_graphical() may + be used to determine whether a specific seat provides + graphics functionality, i.e. is useful as a graphics + display. + If the seat parameter of any of these functions is passed as NULL the operation is executed for the seat of the session of the calling @@ -126,8 +145,10 @@ sd_seat_get_sessions() returns the number of entries in the session identifier array. If the test succeeds - sd_seat_can_multi_session returns - a positive integer, if it fails 0. On failure, these + sd_seat_can_multi_session, + 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. @@ -135,8 +156,10 @@ Notes The sd_seat_get_active(), - sd_seat_get_sessions(), and - sd_seat_can_multi_session() interfaces + sd_seat_get_sessions(), + sd_seat_can_multi_session(), + sd_seat_can_tty() and + sd_seat_can_grapical() interfaces are available as shared library, which can be compiled and linked to with the libsystemd-login