zephyr/samples
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
..
application_development cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
arch cmake: use find_package() instead of literal include in tests and samples 2021-11-01 10:33:09 -04:00
basic samples: Take into account PINCTRL in minimal configurations 2021-12-21 18:30:35 +01:00
bluetooth Bluetooth: host: Align usage of cte_type in DF host implementation 2022-01-04 16:02:40 +01:00
boards tests: fix typos and misnamed platforms 2021-12-17 12:24:37 -05:00
compression cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
drivers samples: exclude platform stm32f769i_disco 2022-01-05 14:59:58 -05:00
hello_world tests: uefi: move uefi test out of hello world 2021-10-22 06:36:51 -04:00
kernel tests: kernel: cycle64: mark test as slow 2021-11-29 10:35:49 -05:00
modules samples, modules: tflite-micro: reduce sample test case noise 2021-12-13 19:24:32 -06:00
net samples: big_http_download: make num_iterations unsigned 2022-01-05 15:00:32 -05:00
philosophers samples: fix wrong extra_args definitions 2022-01-04 17:15:06 -05:00
posix samples/posix: eventfd: Prevent run in twister when SRAM below 32K 2021-09-20 19:48:34 -04:00
sensor samples: sensor: Add sample for MH-Z19B 2021-12-20 18:47:47 +01:00
shields drivers: sensor: Const sensor trigger data in trigger handler 2021-10-27 15:09:35 -04:00
subsys lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
synchronization cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
tfm_integration samples/tfm_integration: psa_crypto: Remove nucleo_l552ze_q 2022-01-04 09:05:11 -05:00
userspace samples: userspace: fix syscall_perf test cannot be run 2022-01-04 15:51:43 -05:00
classic.rst doc: fix top samples doc index 2021-03-09 17:48:18 -05:00
index.rst samples: compression: lz4: lz4 sample application 2021-06-12 17:21:55 +02:00