[libc] add putc, fputc, and putchar
authorMichael Jones <michaelrj@google.com>
Fri, 14 Oct 2022 21:03:46 +0000 (14:03 -0700)
committerMichael Jones <michaelrj@google.com>
Mon, 17 Oct 2022 23:29:04 +0000 (16:29 -0700)
commit40b494396b658511b00e8800e1005c84d7640af4
treeb04be982f02f1516add5ef6ffcd91431af455d6f
parent7732c97f52e72a0737aaafd19d1f3be9f26d1a20
[libc] add putc, fputc, and putchar

These three functions are simple, but needed for libc build testing.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D135990
libc/config/linux/x86_64/entrypoints.txt
libc/spec/stdc.td
libc/src/stdio/CMakeLists.txt
libc/src/stdio/fputc.cpp [new file with mode: 0644]
libc/src/stdio/fputc.h [new file with mode: 0644]
libc/src/stdio/putc.cpp [new file with mode: 0644]
libc/src/stdio/putc.h [new file with mode: 0644]
libc/src/stdio/putchar.cpp [new file with mode: 0644]
libc/src/stdio/putchar.h [new file with mode: 0644]
libc/test/src/stdio/CMakeLists.txt
libc/test/src/stdio/putc_test.cpp [new file with mode: 0644]