summaryrefslogtreecommitdiff
path: root/libc/test/src/stdio/fputc_test.cpp
AgeCommit message (Collapse)Author
2023-09-29[libc] Fix unused variable in fputc test (#67830)Mikhail R. Gadelha
This is probably a copy-and-paste error and the variable 'more' was left unused.
2023-09-26[libc] Mass replace enclosing namespace (#67032)Guillaume Chatelet
This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079
2023-09-09[libc] Implement stdio writing functions for the GPU port (#65809)Joseph Huber
Summary: This patch implements fwrite, putc, putchar, and fputc on the GPU. These are very straightforward, the main difference for the GPU implementation is that we are currently ignoring `errno`. This patch also introduces a minimal smoke test for `putc` that is an exact copy of the `puts` test except we print the string char by char. This also modifies the `fopen` test to use `fwrite` to mirror its use of `fread` so that it is tested as well.