diff options
author | Rob Landley <rob@landley.net> | 2015-04-27 11:13:19 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-04-27 11:13:19 -0500 |
commit | 2fd8624cc612e946f593b2c9e9031c46f862562e (patch) | |
tree | b8ab47e7f83175f4045e9a40ae27688213a78dbf /lib/lib.h | |
parent | ed753aaa5481e487a23c9e0e6a855c09612eb7ce (diff) | |
download | toybox-2fd8624cc612e946f593b2c9e9031c46f862562e.tar.gz |
Some infrastructure hexedit needs. (Poor man's curses.)
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -174,9 +174,12 @@ void replace_tempfile(int fdin, int fdout, char **tempname); void crc_init(unsigned int *crc_table, int little_endian); void base64_init(char *p); int terminal_size(unsigned *x, unsigned *y); +int set_terminal(int fd, int raw, struct termios *old); int yesno(char *prompt, int def); int human_readable(char *buf, unsigned long long num); int qstrcmp(const void *a, const void *b); +int xpoll(struct pollfd *fds, int nfds, int timeout); +int scan_key(char *scratch, char **seqs, int block); // net.c int xsocket(int domain, int type, int protocol); |