MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / fputc

Function fputc

components/libc/compilers/armlibc/syscalls.c:363–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361#include <stdio.h>
362
363int 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
373int fgetc(FILE *f)
374{

Callers 1

libc_fseekFunction · 0.50

Calls 1

rt_kprintfFunction · 0.85

Tested by

no test coverage detected