diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-09-15 12:33:45 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-09-15 12:33:45 +0400 |
commit | 8efe967018dd79aacfe3ca1e2583f115d744e466 (patch) | |
tree | 7590704be6cf03c87242043f5909e12eb4150356 /include | |
parent | c4f72d1426e03f046ac54a00d733a4a52c3a5d4b (diff) |
Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)
to ensure proper fallback behavior on, i.e. serial consoles.
-Erik
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h index 4bfcc7a8b..a6ccff421 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -462,9 +462,10 @@ typedef struct llist_s { } llist_t; extern llist_t *llist_add_to(llist_t *old_head, char *new_item); -void print_login_issue(const char *issue_file, const char *tty); -void print_login_prompt(void); +extern void print_login_issue(const char *issue_file, const char *tty); +extern void print_login_prompt(void); -void vfork_daemon_rexec(int argc, char **argv, char *foreground_opt); +extern void vfork_daemon_rexec(int argc, char **argv, char *foreground_opt); +extern void get_terminal_width_height(int fd, int *width, int *height); #endif /* __LIBCONFIG_H__ */ |