From b2fada1dd19211d71e04557653d08e697134a6ce Mon Sep 17 00:00:00 2001 From: Erik K Date: Fri, 13 May 2022 17:24:26 +0000 Subject: initial commit --- util.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 util.h (limited to 'util.h') diff --git a/util.h b/util.h new file mode 100644 index 0000000..e1e49e7 --- /dev/null +++ b/util.h @@ -0,0 +1,9 @@ +#include +#include + +char *xfgets(char *, size_t, FILE *); +FILE *xfopen(const char *, const char *); +int xfputs(const char *, FILE *); +void *xmalloc(size_t); +void *xrealloc(void *, size_t); +size_t my_strlcpy(char *, const char *, size_t); -- cgit v1.2.3