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:33<Zephyr>/lib/Kconfig:16<Zephyr>/lib/os/Kconfig:63

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.)