// This is a personal academic project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include "include/errors.h" void printError(char * string) { fprintf(stderr, "%s\n", string); exit(EXIT_FAILURE); } void printSystemError(char * string) { perror(string); exit(EXIT_FAILURE); }