return 0;
}
+/// UNNEEDED by elogind
+#if 0
int ask_char(char *ret, const char *replies, const char *text, ...) {
int r;
}
}
-/// UNNEEDED by elogind
-#if 0
int ask_string(char **ret, const char *text, ...) {
assert(ret);
assert(text);
return r;
}
+/// UNNEEDED by elogind
+#if 0
int release_terminal(void) {
static const struct sigaction sa_new = {
.sa_handler = SIG_IGN,
return r;
}
+#endif // 0
int terminal_vhangup_fd(int fd) {
assert(fd >= 0);
ioctl(fd, KIOCSOUND, 0);
}
+/// UNNEEDED by elogind
+#if 0
int make_console_stdio(void) {
int fd, r;
return 0;
}
+#endif // 0
int status_vprintf(const char *status, bool ellipse, bool ephemeral, const char *format, va_list ap) {
static const char status_indent[] = " "; /* "[" STATUS "] " */
return tty_is_vc(tty);
}
+/// UNNEEDED by elogind
+#if 0
const char *default_term_for_tty(const char *tty) {
assert(tty);
return tty_is_vc_resolve(tty) ? "TERM=linux" : "TERM=vt220";
}
+#endif // 0
int fd_columns(int fd) {
struct winsize ws = {};
return 0;
}
+/// UNNEEDED by elogind
+#if 0
int getttyname_harder(int fd, char **r) {
int k;
char *s = NULL;
*r = s;
return 0;
}
+#endif // 0
int get_ctty_devnr(pid_t pid, dev_t *d) {
int r;