File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,17 @@ config LIBC_PRINT_EXTENSION
110
110
bool
111
111
default n
112
112
---help---
113
- Enables vsprintf supports using "%p*" to print.
113
+ Enables non-standard "%p*" extensions for the printf family.
114
+
115
+ CAVEAT: If your system is using any of the printf C family
116
+ functions, it's probably unsafe to enable this option because
117
+ the extension is not compatible with the C standard. Namely,
118
+ an ordinary character following a "%p" conversion is interpreted
119
+ in a non-standard way, which might crash the code which expects
120
+ the standard semantics. For that reason, in the future versions
121
+ of NuttX, this extension might be removed, or changed in an
122
+ API-incompatible way to avoid conflicts with the standards.
123
+ (Eg. use different characters for converions specifiers,
124
+ or switch to a completely separate API, say "nuttx_printf".)
114
125
115
126
endmenu #Standard C I/O
You can’t perform that action at this time.
0 commit comments