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

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Fri Jul 31 18:08:29 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:

Would you mind adding it to other functions which have isoc99 variants in glibc?

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


More information about the libc-commits mailing list