src/projects/kernel/arch/i386/tty.c
void terminal_write(const char* data, size_t size) {
	for (size_t i = 0; i < size; i++) {
	    if (data[i] == '\n' || data[i] == '\r') {
	        terminal_newline();
	    } else {
            terminal_putchar(data[i]);
        }
    }
}
/*
 * Print out a character array of given size.
 */
Print out a character array of given size.
Print out a character array of given size .
void terminal_write(const char* data, size_t size) {
	for (size_t i = 0; i < size; i++) {
	    if (data[i] == '\n' || data[i] == '\r') {
	        terminal_newline();
	    } else {
            terminal_putchar(data[i]);
        }
    }
}
void terminal_write ( const char * data , size_t size ) { for ( size_t i = 0 ; i < size ; i ++ ) { if ( data [ i ] == ' \n ' || data [ i ] == ' \r ' ) { terminal_newline ( ) ; } else { terminal_putchar ( data [ i ] ) ; } } }
Print out a character array of given size.
Print out a character array of given size .