Mercurial > repos > bitlab > bitlab
comparison gecko/src/commonFunctions.h @ 1:35af401890c0 draft
Uploaded
author | bitlab |
---|---|
date | Thu, 13 Dec 2018 07:59:25 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:ee6b15b409e5 | 1:35af401890c0 |
---|---|
1 #ifndef COMMON_FUNCTIONS_H | |
2 #define COMMON_FUNCTIONS_H | |
3 | |
4 /** | |
5 * Print the error message 's' and exit(-1) | |
6 */ | |
7 void terror(char *s); | |
8 | |
9 /** | |
10 * Function to buffer file reading | |
11 */ | |
12 char buffered_fgetc(char *buffer, uint64_t *pos, uint64_t *read, FILE *f); | |
13 | |
14 #endif /* COMMON_FUNCTIONS_H */ |