zephyr/include/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
..
shell_dummy.h shell: Parametrize dummy shell buffer size 2021-05-26 00:05:56 -04:00
shell_fprintf.h
shell_history.h shell: internal api update: history module 2021-01-14 12:07:25 +01:00
shell_log_backend.h shell: log_backend: Add mpsc_pbuf buffer alignment 2021-05-18 11:22:13 -05:00
shell_rtt.h
shell_telnet.h shell: telnet: Make sure the delayed work becomes idle after canceling 2021-04-12 11:47:24 -04:00
shell_types.h shell: rework vt100 commands storage 2021-09-28 20:02:01 -04:00
shell_uart.h shell: internal api update: uart backend 2021-01-14 12:07:25 +01:00
shell.h lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00