diff options
Diffstat (limited to 'lib/libc/stdio/putc.c')
| -rw-r--r-- | lib/libc/stdio/putc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/stdio/putc.c b/lib/libc/stdio/putc.c new file mode 100644 index 00000000..2486926a --- /dev/null +++ b/lib/libc/stdio/putc.c @@ -0,0 +1,9 @@ +#include <libc.h> +#include <stdio.h> + +int putc(int c, FILE *stream) +{ + return fputc(c, stream); +} + +weak_reference(putc, putc_unlocked); |
