CONFIG_GETOPT
Geopt library support
Type: bool
Help
This option adds support of getopt.
Different shell backends are use their own instance of getopt to
not interfere with each other.
All not shell threads share one global instance of getopt state, hence
apart from shell this library is not thread safe. User can add support
for other threads by extending function getopt_state_get in
getopt_common.c file.
This option enables the following function: getopt.
Defaults
No defaults. Implicitly defaults to n
.
Symbols that select this symbol
Kconfig definition
At <Library>/posix/getopt/Kconfig:5
Included via Kconfig:8
→ Kconfig.zephyr:43
→ <Library>/Kconfig:12
→ <Library>/posix/Kconfig:4
Menu path: (Top) → Additional libraries
menuconfig GETOPT
bool "Geopt library support"
help
This option adds support of getopt.
Different shell backends are use their own instance of getopt to
not interfere with each other.
All not shell threads share one global instance of getopt state, hence
apart from shell this library is not thread safe. User can add support
for other threads by extending function getopt_state_get in
getopt_common.c file.
This option enables the following function: getopt.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)