chiark / gitweb /
getty: do not auto-spawn getty's on VC ttys if console=ttyN is used
[elogind.git] / src / util.h
index c8cae703a2bc8e6bce46e6050af05b77bfdf4e45..a534dcfecc2e9ad98ffe73f03b1f79cb8b8965ad 100644 (file)
@@ -370,8 +370,11 @@ char *fstab_node_to_udev_node(const char *p);
 
 void filter_environ(const char *prefix);
 
+bool tty_is_vc(const char *tty);
 const char *default_term_for_tty(const char *tty);
 
+bool running_in_vm(void);
+
 #define NULSTR_FOREACH(i, l)                                    \
         for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)