| 361 | #include <stdio.h> |
| 362 | |
| 363 | int fputc(int c, FILE *f) |
| 364 | { |
| 365 | #ifdef RT_USING_CONSOLE |
| 366 | rt_kprintf("%c", (char)c); |
| 367 | return 1; |
| 368 | #else |
| 369 | return 0; /* error */ |
| 370 | #endif /* RT_USING_CONSOLE */ |
| 371 | } |
| 372 | |
| 373 | int fgetc(FILE *f) |
| 374 | { |
no test coverage detected