Commit 54078c4a by Rudolf

Show special 0 char as just 0

parent c5b3cb3b
Showing with 3 additions and 0 deletions
...@@ -30,6 +30,9 @@ void __printb(void *value, size_t size) ...@@ -30,6 +30,9 @@ void __printb(void *value, size_t size)
void print_char(unsigned char c) void print_char(unsigned char c)
{ {
switch (c) { switch (c) {
case 0:
printf("0\n");
break;
case EOF_CHAR: case EOF_CHAR:
printf("EOF\n"); printf("EOF\n");
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment