zephyr/subsys/shell
Jakub Rzeszutko d4559f53fa lib: getopt: rework and extend getopt library
Getopt has been rework in this way that calling it does not require
extra state parameter and its execution is thread safe.
Global parameters describing the state of the getopt function have been
made available to ensure full API compatibility in using this library.
However, referencing these global variables directly is not thread
safe. In order to get the state of the getopt function for the thread
that is currently using it, call: getopt_state_get();

Extended the library with getopt_long and getopt_long_only functions.

Moved getopt libary from utils to posix.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2022-01-06 21:26:59 +01:00
..
backends usb: remove Kconfig option USB_UART_CONSOLE 2021-11-18 14:29:18 +01:00
modules device: remove inclusion of pm/device.h 2021-11-29 11:08:38 +01:00
CMakeLists.txt lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
Kconfig lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c kernel: atomics: update print specifiers for atomic_t 2021-11-15 09:59:01 -05:00
shell_fprintf.c
shell_help.c coccinelle: Remove extra semicolon 2021-03-25 11:35:30 -05:00
shell_help.h shell: make detecting help option optional 2021-03-01 09:50:32 -05:00
shell_history.c
shell_log_backend.c shell: Fix immediate logging case 2022-01-05 14:58:46 -05:00
shell_ops.c shell: Fix immediate logging case 2022-01-05 14:58:46 -05:00
shell_ops.h shell: Fix immediate logging case 2022-01-05 14:58:46 -05:00
shell_utils.c toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
shell_utils.h shell: optionally set shell root command using Kconfig 2021-06-16 10:41:17 +02:00
shell_vt100.h shell: rework vt100 commands storage 2021-09-28 20:02:01 -04:00
shell_wildcard.c coccinelle: Remove extra semicolon 2021-03-25 11:35:30 -05:00
shell_wildcard.h
shell.c lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00