reverted extendended read_timed

This commit is contained in:
Dominik Maier
2020-05-30 13:53:00 +02:00
parent b16ccb4811
commit 95b46b4278
3 changed files with 26 additions and 62 deletions

View File

@ -107,9 +107,6 @@ u8 *u_stringify_mem_size(u8 *buf, u64 val);
u8 *u_stringify_time_diff(u8 *buf, u64 cur_ms, u64 event_ms);
/* Sets a filedescriptor to non-blocking mode (for read_timed) */
void set_nonblocking(int fd);
/* Wrapper for select() and read(), reading exactly len bytes.
Returns the time passed to read.
stop_soon should point to a variable indicating ctrl+c was pressed.