aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-09-01 02:57:45 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-09-01 02:57:45 +0000
commita19bed0c3cd7e39785626ba92413e873ac70ea24 (patch)
tree38d91900ec491f8ad099c0e057efe88de0937336 /include
parent0e0cbbc8685f6cd9b72995c2873f4833cf7ae851 (diff)
downloadbusybox-w32-a19bed0c3cd7e39785626ba92413e873ac70ea24.tar.gz
busybox-w32-a19bed0c3cd7e39785626ba92413e873ac70ea24.tar.bz2
busybox-w32-a19bed0c3cd7e39785626ba92413e873ac70ea24.zip
Bernhard Fischer suggested that get_terminal_width_height() should return
the result of the ioctl so callers can tell if we have a tty. (0 means we have a tty, nonzero means the ioctl couldn't find size info and we fake 80x24. Really we should fake 80x25, but oh well...) git-svn-id: svn://busybox.net/trunk/busybox@11306 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 14670f026..077b310b6 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -474,7 +474,7 @@ extern void print_login_prompt(void);
474 474
475extern void vfork_daemon_rexec(int nochdir, int noclose, 475extern void vfork_daemon_rexec(int nochdir, int noclose,
476 int argc, char **argv, char *foreground_opt); 476 int argc, char **argv, char *foreground_opt);
477extern void get_terminal_width_height(int fd, int *width, int *height); 477extern int get_terminal_width_height(int fd, int *width, int *height);
478extern unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *)); 478extern unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *));
479extern void xregcomp(regex_t *preg, const char *regex, int cflags); 479extern void xregcomp(regex_t *preg, const char *regex, int cflags);
480 480