From b11ae5cf86000bfce35b6ec511014d8f6b04416e Mon Sep 17 00:00:00 2001 From: root Date: Mon, 26 Oct 2020 22:55:18 +0000 Subject: add keypad --- util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util.h') 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); -- cgit v1.2.3