From 7369505397cdfddf0883e2c24e1652df8bd488fe Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 16 Dec 2022 13:53:35 +0800 Subject: Refactor file structure --- src/util.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/util.h (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h new file mode 100644 index 0000000..850a245 --- /dev/null +++ b/src/util.h @@ -0,0 +1,9 @@ +#include + +#ifndef __UTIL_H +#define __UTIL_H + +void panic(const char *); +int setblocking(int fd, bool blocking); + +#endif -- cgit v1.2.3