zephyr/lib/posix
Pisit Sawangvonganan 557ad8e45c shell: devmem: address cmd_dump multiple call problem
Call `getopt_init()` to reset `state->optind` instead of directly setting
`optind = 1`. The `getopt()` function uses `getopt_state` from
`getopt_state_get` for state handling, so `getopt_init()` should be called
to correctly run the command again.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2024-05-15 10:13:23 +02:00
..
options shell: devmem: address cmd_dump multiple call problem 2024-05-15 10:13:23 +02:00
shell posix: manually define _POSIX_C_SOURCE in lib/posix 2024-03-08 04:28:47 -05:00
CMakeLists.txt lib: posix: shell: Fix compiler warning of lib__posix__shell 2024-03-15 06:30:31 -04:00
Kconfig posix: separate shell utilities and posix api implementation 2024-02-01 05:26:24 -05:00