[libc-commits] [libc] [libc] Add __isoc99_fscanf alias. (PR #213125)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Sat Aug 1 09:23:41 PDT 2026


================
@@ -34,3 +34,7 @@ LLVM_LIBC_FUNCTION(int, fscanf,
 }
 
 } // namespace LIBC_NAMESPACE_DECL
+
+#ifdef LIBC_CONF_SCANF_PROVIDE_ISOC99_ALIASES
+LLVM_LIBC_ADD_FUNCTION_C_ALIAS(fscanf, __isoc99_fscanf);
----------------
vonosmas wrote:

We also need those for sscanf and vsscanf.

https://github.com/llvm/llvm-project/pull/213125


More information about the libc-commits mailing list