]> git.ipfire.org Git - thirdparty/systemd.git/commit
execute: add new helper exec_context_apply_tty_size()
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Nov 2023 12:39:49 +0000 (13:39 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Nov 2023 20:38:26 +0000 (21:38 +0100)
commitd2b9e755242a98f14d89537380bef4e8e5ab9791
treea2b7405ee52691d381d02e9e55d5e4f133cf4215
parentf3066d635ab97b414ee5c0cf6753406dc457e889
execute: add new helper exec_context_apply_tty_size()

This combines exec_context_determine_tty_size() and
terminal_set_size_fd() since we always use one after the other.

Also make exec_context_determine_tty_size() return void, since it cannot
fail.
src/core/exec-invoke.c
src/core/execute.c
src/core/execute.h