diff --git a/libc/config/gpu/entrypoints.txt b/libc/config/gpu/entrypoints.txt --- a/libc/config/gpu/entrypoints.txt +++ b/libc/config/gpu/entrypoints.txt @@ -82,10 +82,19 @@ # stdio.h entrypoints libc.src.stdio.puts + libc.src.stdio.putc + libc.src.stdio.putchar libc.src.stdio.fputs libc.src.stdio.fread + libc.src.stdio.feof + libc.src.stdio.ferror + libc.src.stdio.fgetc + libc.src.stdio.fputc libc.src.stdio.fclose libc.src.stdio.fopen + libc.src.stdio.fwrite + libc.src.stdio.getchar + libc.src.stdio.getc libc.src.stdio.stdin libc.src.stdio.stdout libc.src.stdio.stderr diff --git a/libc/docs/gpu/support.rst b/libc/docs/gpu/support.rst --- a/libc/docs/gpu/support.rst +++ b/libc/docs/gpu/support.rst @@ -126,4 +126,13 @@ fputs |check| |check| fclose |check| |check| fopen |check| |check| +putc |check| |check| +putchar |check| |check| +feof |check| +ferror |check| +fgetc |check| |check| +fputc |check| |check| +fwrite |check| |check| +getchar |check| |check| +getc |check| |check| ============= ========= ============ diff --git a/libc/test/src/stdio/CMakeLists.txt b/libc/test/src/stdio/CMakeLists.txt --- a/libc/test/src/stdio/CMakeLists.txt +++ b/libc/test/src/stdio/CMakeLists.txt @@ -233,7 +233,7 @@ libc.src.stdio.fopen ) -add_libc_unittest( +add_libc_test( putc_test SUITE libc_stdio_unittests @@ -265,7 +265,7 @@ ) endif() -add_libc_unittest( +add_libc_test( fgetc_test SUITE libc_stdio_unittests