:orphan: .. title:: ERRNO .. option:: CONFIG_ERRNO *Enable errno support* Type: ``bool`` Help ==== Enable per-thread errno in the kernel. Application and library code must include errno.h provided by the C library (libc) to use the errno symbol. The C library must access the per-thread errno via the _get_errno() symbol. Default ======= - y Symbols selected by this symbol =============================== - \ :option:`THREAD_USERSPACE_LOCAL_DATA ` if \ :option:`USERSPACE ` Symbols that select this symbol =============================== - \ :option:`SIMPLELINK_HOST_DRIVER ` Kconfig definition ================== .. highlight:: kconfig At ``kernel/Kconfig:196`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:36`` Menu path: (Top) → General Kernel Options .. parsed-literal:: config ERRNO bool "Enable errno support" default y select \ :option:`THREAD_USERSPACE_LOCAL_DATA ` if \ :option:`USERSPACE ` help Enable per-thread errno in the kernel. Application and library code must include errno.h provided by the C library (libc) to use the errno symbol. The C library must access the per-thread errno via the _get_errno() symbol. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*