The latest development version of this page may be more current than this released 2.7.5 version.

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 lib/os/Kconfig.cbprintf:99

Included via Kconfig:8Kconfig.zephyr:43lib/Kconfig:10lib/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.)