summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorroot <root@nolonger-other.tetra.james.local>2020-10-26 22:55:18 +0000
committerfishsoupisgood <github@madingley.org>2020-10-26 23:04:50 +0000
commitb11ae5cf86000bfce35b6ec511014d8f6b04416e (patch)
treed4f4caf8ecb8b14e62858d46d781af6886eb1b73 /util.h
parent62bc1af6c6a1201db551e1ec523e757415464fd5 (diff)
downloadgalaxy_tools-b11ae5cf86000bfce35b6ec511014d8f6b04416e.tar.gz
galaxy_tools-b11ae5cf86000bfce35b6ec511014d8f6b04416e.tar.bz2
galaxy_tools-b11ae5cf86000bfce35b6ec511014d8f6b04416e.zip
add keypad
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index 9bee282..55f6e38 100644
--- a/util.h
+++ b/util.h
@@ -5,6 +5,7 @@
extern void set_nonblocking (int fd);
extern void set_blocking (int fd);
extern int fd_can_read (int fd);
+extern ssize_t read_with_timeout (int fd, void *_b, size_t len, unsigned timeout);
extern int fd_drain (int fd);
extern int open_tty (const char *path, int baud);
extern int open_tcp_client (const char *host, unsigned port);