[systemd-devel] [PATCH] sd-login: add a public accessor for the VT number

Lennart Poettering lennart at poettering.net
Wed Sep 11 07:59:56 PDT 2013


On Thu, 22.08.13 11:21, Giovanni Campagna (scampa.giovanni at gmail.com) wrote:

Heya,

> From: Giovanni Campagna <gcampagn at redhat.com>

Welcome to Red Hat!

> The VT number was already part of the DBus API, but was not
> exposed in the C API.

This should probably return an unsigned rather than a string, no?

Also, this would need to be added to man/sd_session_is_active.xml, and
to the symbol versioning script in src/login/libsystemd-login.sym.

Otherwise looks good!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list