zephyr/lib
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
..
gui lib: lvgl: obtain LVGL_DISPLAY_DEV_NAME from devicetree 2021-12-10 12:47:30 +01:00
libc lib: os: add heap event listener 2021-12-18 07:49:15 -05:00
open-amp
os lib: os: add heap event listener 2021-12-18 07:49:15 -05:00
posix lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
smf lib: smf: Remove unused variables 2021-10-26 17:53:32 -04:00
util lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
CMakeLists.txt lib: smf: Add State Machine Framework 2021-10-04 20:33:11 -04:00
Kconfig lib: smf: Add State Machine Framework 2021-10-04 20:33:11 -04:00