view gecko/src/commonFunctions.h @ 11:cf4c0c822ca9 draft

Uploaded
author bitlab
date Wed, 18 Nov 2020 08:37:31 +0000
parents 9db88f0f32b7
children
line wrap: on
line source

#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 */