Skip to content

Commit d910ddb

Browse files
jhuber6yuxuanchen1997
authored andcommitted
[libc] Enable 'sscanf' on the GPU (#100211)
Summary: We can enable the `sscanf` function on the GPU now. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250594
1 parent 6c04b37 commit d910ddb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

libc/config/gpu/entrypoints.txt

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ set(TARGET_LIBC_ENTRYPOINTS
186186
libc.src.stdio.sprintf
187187
libc.src.stdio.vsnprintf
188188
libc.src.stdio.vsprintf
189+
libc.src.stdio.sscanf
189190
libc.src.stdio.feof
190191
libc.src.stdio.ferror
191192
libc.src.stdio.fflush

libc/docs/gpu/support.rst

+5-4
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,11 @@ printf |check| |check|
234234
vprintf |check| |check|
235235
fprintf |check| |check|
236236
vfprintf |check| |check|
237-
sprintf |check| |check|
238-
snprintf |check| |check|
239-
vsprintf |check| |check|
240-
vsnprintf |check| |check|
237+
sprintf |check|
238+
snprintf |check|
239+
vsprintf |check|
240+
vsnprintf |check|
241+
sscanf |check|
241242
putchar |check| |check|
242243
fclose |check| |check|
243244
fopen |check| |check|

0 commit comments

Comments
 (0)