[libc-commits] [libc] [libc][stdio] Add support for the %m modifier (PR #218312)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Tue Aug 25 16:47:52 PDT 2026
================
@@ -77,6 +77,10 @@
"LIBC_CONF_SCANF_PROVIDE_ISOC99_ALIASES": {
"value": false,
"doc": "Add __isoc99_* aliases for scanf's functions."
+ },
+ "LIBC_CONF_SCANF_DISABLE_ALLOCATION": {
+ "value": false,
+ "doc": "Disable %m for allocations"
----------------
michaelrj-google wrote:
expand a bit on what the m flag is. It's a flag that POSIX specifies for string conversions that makes them allocate a new buffer for the result.
https://github.com/llvm/llvm-project/pull/218312
More information about the libc-commits
mailing list