zephyr/samples/subsys
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
..
audio/sof samples/subsys/audio/sof: add configuration for imx8m board 2021-10-20 19:08:50 -04:00
canbus drivers: can: remove DT_CHOSEN_ZEPHYR_CANBUS_LABEL macro 2021-11-09 11:19:50 +01:00
console cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
cpp cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
debug samples: debug/gdbstub: update instructions to run 2021-11-30 15:24:00 -05:00
display samples: exclude platform stm32f769i_disco 2022-01-05 14:59:58 -05:00
edac cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
fs samples: exclude platform stm32f769i_disco 2022-01-05 14:59:58 -05:00
ipc tests: fix typos and misnamed platforms 2021-12-17 12:24:37 -05:00
logging samples: logging: Add v2 logging support for sys-t sample. 2022-01-05 14:41:51 +01:00
lorawan/class_a cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
mgmt mcumgr: kconfig: Have OS_MGMT_TASKSTAT default to n 2022-01-04 11:54:28 +01:00
modbus samples: modbus: update/fix samples.yaml configs 2021-09-27 21:54:56 -04:00
nvs storage/flash_map: Add FLASH_AREA_DEVICE macro 2021-11-06 21:37:47 -04:00
pm/device_pm pm: device_runtime: Return possible error on enable 2021-12-14 19:23:05 -05:00
portability samples: fix wrong extra_args definitions 2022-01-04 17:15:06 -05:00
settings soc: riscv: esp32c3: nvs: add NVS support using fixed partitions 2021-10-28 06:47:21 -04:00
shell lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
task_wdt task_wdt: fix silent init failures 2021-10-01 15:21:32 +02:00
testsuite cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
tracing tests: tracing.osawareness.openocd cleanup 2021-10-13 06:22:44 -04:00
usb samples: fix wrong extra_args definitions 2022-01-04 17:15:06 -05:00
video cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
subsys.rst