zephyr/samples/subsys/shell/shell_module
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
..
src lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
CMakeLists.txt libc: minimal: add qsort to the minimal libc 2021-11-10 07:00:36 -05:00
Kconfig
overlay-usb.conf sampes: shell: remove usage of CONFIG_USB_UART_CONSOLE 2021-11-18 14:29:18 +01:00
prj_getopt.conf
prj_login.conf samples: shell_module: use Kconfig setting SHELL_CMD_ROOT 2021-06-16 10:41:17 +02:00
prj_minimal_rtt.conf kernel: remove object tracing 2021-05-07 22:10:21 -04:00
prj_minimal.conf kernel: remove object tracing 2021-05-07 22:10:21 -04:00
prj.conf stats: Add a stats shell command 2021-10-14 06:32:57 -04:00
sample.yaml lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
usb.overlay samples: shell: get CDC ACM UART device from devicetree 2021-08-23 18:53:47 -04:00