src/terminal_functions.c
/*
 * A function designed to call for an error. Once the error is raised, 
 * we will output to stdout the error message and then exit. 
 */
A function designed to call for an error. Once the error is raised,
we will output to stdout the error message and then exit.
A function designed to call for an error . Once the error is raised we will output to stdout the error message and then exit .
void error(const char *c)
{
    write(STDOUT_FILENO, "\x1b[2J", 4); 
    write(STDOUT_FILENO, "\x1b[H", 3); 
    perror(c); 
    exit(1); 
}
void error ( const char * c ) { write ( STDOUT_FILENO , " \x1b " , 4 ) ; write ( STDOUT_FILENO , " \x1b " , 3 ) ; perror ( c ) ; exit ( 1 ) ; }
A function designed to call for an error.
A function designed to call for an error .