]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/ttyutils: add get_terminal_default_type()
authorKarel Zak <kzak@redhat.com>
Mon, 29 May 2023 13:10:24 +0000 (15:10 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 29 May 2023 13:10:24 +0000 (15:10 +0200)
commitcba97be9fb9e5376c338c19de7d8267f055813e7
tree8898f268c95173495bd0e82bd92c0bf455809a26
parent96c8ff27a4779f00955c1c264d43991f0ab77eba
lib/ttyutils: add get_terminal_default_type()

Based on code from agetty.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/ttyutils.h
lib/ttyutils.c