Home
last modified time | relevance | path

Searched refs:default_term_for_tty (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-terminal-util.c25 TEST(default_term_for_tty) { in TEST() argument
26 puts(default_term_for_tty("/dev/tty23")); in TEST()
27 puts(default_term_for_tty("/dev/ttyS23")); in TEST()
28 puts(default_term_for_tty("/dev/tty0")); in TEST()
29 puts(default_term_for_tty("/dev/pty0")); in TEST()
30 puts(default_term_for_tty("/dev/pts/0")); in TEST()
31 puts(default_term_for_tty("/dev/console")); in TEST()
32 puts(default_term_for_tty("tty23")); in TEST()
33 puts(default_term_for_tty("ttyS23")); in TEST()
34 puts(default_term_for_tty("tty0")); in TEST()
[all …]
/systemd-251/src/basic/
Dterminal-util.h142 const char *default_term_for_tty(const char *tty);
Dterminal-util.c774 const char *default_term_for_tty(const char *tty) { in default_term_for_tty() function
/systemd-251/src/core/
Dmain.c1408 t = term ?: default_term_for_tty("/dev/console"); in fixup_environment()
Dexecute.c1926 term = default_term_for_tty(tty_path); in build_environment()