aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-01-14 23:15:01 -0600
committerRob Landley <rob@landley.net>2018-01-14 23:15:01 -0600
commit4577605121fa441e5a28c32ce2c33be4c48df89b (patch)
tree2aededdb126dc5bf40bc51d0e6b0293ad28f0221 /lib/lib.h
parente1d68f5006f553669a64a225d0f6b92a76c90179 (diff)
downloadtoybox-4577605121fa441e5a28c32ce2c33be4c48df89b.tar.gz
Switch xgettty() -> tty_fd() (returning -1 instead of erroring out if none).
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 5dd629d2..94662983 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -274,7 +274,7 @@ int draw_trim_esc(char *str, int padto, int width, char *escmore,
int draw_trim(char *str, int padto, int width);
// interestingtimes.c
-int xgettty(void);
+int tty_fd(void);
int terminal_size(unsigned *xx, unsigned *yy);
int terminal_probesize(unsigned *xx, unsigned *yy);
int scan_key_getsize(char *scratch, int miliwait, unsigned *xx, unsigned *yy);