diff gecko/src/commonFunctions.h @ 1:35af401890c0 draft

Uploaded
author bitlab
date Thu, 13 Dec 2018 07:59:25 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gecko/src/commonFunctions.h	Thu Dec 13 07:59:25 2018 -0500
@@ -0,0 +1,14 @@
+#ifndef COMMON_FUNCTIONS_H
+#define COMMON_FUNCTIONS_H
+
+/**
+ * Print the error message 's' and exit(-1)
+ */
+void terror(char *s);
+
+/**
+ * Function to buffer file reading
+ */
+char buffered_fgetc(char *buffer, uint64_t *pos, uint64_t *read, FILE *f);
+
+#endif /* COMMON_FUNCTIONS_H */