Init commit
This commit is contained in:
12
bsp_linux/utility/printChar.c
Normal file
12
bsp_linux/utility/printChar.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include <stdio.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
void printChar(const char* character, bool errStream) {
|
||||
if(errStream) {
|
||||
fprintf( stderr, "%c", *character);
|
||||
} else {
|
||||
printf("%c", *character);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user