src/ErrorsMessages.c
/*
 * FUNCTION NAME: printSystemError
 *
 * DESCRIPTION:
 * Function prints an error, if something failed on a
 * system level (e.g. can't allocate a memory).
 */
FUNCTION NAME: printSystemError
DESCRIPTION:
Function prints an error, if something failed on a
system level .
FUNCTION NAME : printSystemError DESCRIPTION : Function prints an error if something failed on a system level .
void printSystemError(systemError_t error_code)
{
    if (error_code == CANT_ALLOCATE_MEMORY) {
        perror("\nError! Can't allocate memory!\n"
               "Closing program now...");
    }
}
void printSystemError ( systemError_t error_code ) { if ( error_code == CANT_ALLOCATE_MEMORY ) { perror ( " \n \n " " " ) ; } }
FUNCTION NAME: printSystemError
 DESCRIPTION:
 Function prints an error, if something failed on a
 system level (e.g.
FUNCTION NAME : printSystemError DESCRIPTION : Function prints an error if something failed on a system level ( e . g .