aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-02-02 07:27:35 -0600
committerRob Landley <rob@landley.net>2012-02-02 07:27:35 -0600
commit26e7b5ece4b8b0440048759bc49f3b357a4c4c45 (patch)
tree882313b0de2bb81573806f691d0049591934ad76 /lib/lib.h
parentce8a2671896dcdc7baa9fa9d77cea966e44b9b6b (diff)
downloadtoybox-26e7b5ece4b8b0440048759bc49f3b357a4c4c45.tar.gz
Quick and dirty terminal_size() and yesno() functions, both of which need to be improved.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 6880462e..b7f250b8 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -108,6 +108,9 @@ int copy_tempfile(int fdin, char *name, char **tempname);
void delete_tempfile(int fdin, int fdout, char **tempname);
void replace_tempfile(int fdin, int fdout, char **tempname);
void crc_init(unsigned int *crc_table, int little_endian);
+void terminal_size(unsigned *x, unsigned *y);
+int yesno(int def);
+
// getmountlist.c
struct mtab_list {