view gecko/src/commonFunctions.h @ 2:ac1ecf12863a draft default tip

Uploaded
author bitlab
date Thu, 13 Dec 2018 08:57:14 -0500
parents 35af401890c0
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 */