chiark / gitweb /
sd-login: rework error handling
authorLennart Poettering <lennart@poettering.net>
Fri, 4 Sep 2015 07:05:52 +0000 (09:05 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:19:06 +0000 (10:19 +0100)
commitabbb87ffdecf445d2bba18e1638f80c96098339e
treeed6aeed11090753128077935fae61e27534b8652
parent28233624dfc4ee549eaaacacf4e4f100026ba09b
sd-login: rework error handling

Makre sure we always return sensible errors for the various, following
the same rules, and document them in a comment in sd-login.c. Also,
update all relevant man pages accordingly.
man/sd_get_seats.xml
man/sd_machine_get_class.xml
man/sd_seat_get_active.xml
man/sd_session_is_active.xml
src/libelogind/sd-login/sd-login.c
src/libelogind/sd-login/test-login.c