[libc] Add implementation of fgetc.
authorSiva Chandra Reddy <sivachandra@google.com>
Fri, 21 Oct 2022 06:46:31 +0000 (06:46 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Sat, 22 Oct 2022 03:34:44 +0000 (03:34 +0000)
commit0480b45e9eabe4df1c58c1d3f1aa49c75defcbe5
treee3e0ff76d8f000f4c08d66ed7058409418fb6d4a
parent2a038f91387c7fc476db83eb04a614c3a1e94e15
[libc] Add implementation of fgetc.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D136421
libc/config/linux/x86_64/entrypoints.txt
libc/spec/stdc.td
libc/src/stdio/CMakeLists.txt
libc/src/stdio/fgetc.cpp [new file with mode: 0644]
libc/src/stdio/fgetc.h [new file with mode: 0644]
libc/test/src/stdio/CMakeLists.txt
libc/test/src/stdio/fgetc_test.cpp [new file with mode: 0644]