CONFIG_CBPRINTF_N_SPECIFIER

Support %n specifications

Type: bool

Help

If selected %n can be used to determine the number of characters
emitted.  If enabled there is a small increase in code size.

Direct dependencies

CBPRINTF_COMPLETE

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/lib/os/Kconfig.cbprintf:99

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:43<Zephyr>/lib/Kconfig:10<Zephyr>/lib/os/Kconfig:81

Menu path: (Top) → Additional libraries → OS Support Library

config CBPRINTF_N_SPECIFIER
    bool "Support %n specifications"
    default y
    depends on CBPRINTF_COMPLETE
    help
      If selected %n can be used to determine the number of characters
      emitted.  If enabled there is a small increase in code size.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)