From 7edccc99e9407e1eae4b7be91f13f9a383d28742 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Tue, 23 Jul 2024 16:10:46 -0500 Subject: [PATCH] [libc] Enable 'sscanf' on the GPU Summary: We can enable the `sscanf` function on the GPU now. --- libc/config/gpu/entrypoints.txt | 1 + libc/docs/gpu/support.rst | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libc/config/gpu/entrypoints.txt b/libc/config/gpu/entrypoints.txt index fa878d8999227..f7e89bdcd95cc 100644 --- a/libc/config/gpu/entrypoints.txt +++ b/libc/config/gpu/entrypoints.txt @@ -186,6 +186,7 @@ set(TARGET_LIBC_ENTRYPOINTS libc.src.stdio.sprintf libc.src.stdio.vsnprintf libc.src.stdio.vsprintf + libc.src.stdio.sscanf libc.src.stdio.feof libc.src.stdio.ferror libc.src.stdio.fflush diff --git a/libc/docs/gpu/support.rst b/libc/docs/gpu/support.rst index 71dd1b30c5e3a..5ef298a2ba58f 100644 --- a/libc/docs/gpu/support.rst +++ b/libc/docs/gpu/support.rst @@ -234,10 +234,11 @@ printf |check| |check| vprintf |check| |check| fprintf |check| |check| vfprintf |check| |check| -sprintf |check| |check| -snprintf |check| |check| -vsprintf |check| |check| -vsnprintf |check| |check| +sprintf |check| +snprintf |check| +vsprintf |check| +vsnprintf |check| +sscanf |check| putchar |check| |check| fclose |check| |check| fopen |check| |check|