Searched refs:getopt (Results 1 – 20 of 20) sorted by relevance
/Zephyr-Core-3.4.0/lib/posix/getopt/ |
D | Kconfig | 9 This option adds support of getopt. 10 Different shell backends are use their own instance of getopt to 12 All not shell threads share one global instance of getopt state, hence 16 This option enables the following function: getopt. 22 This option adds support of the getopt long. 23 Different shell backends are using their own instance of getopt to 25 All not shell threads share one global instance of getopt state, hence
|
D | README | 6 [https://github.com/lattera/freebsd/blob/master/lib/libc/stdlib/getopt.c] 9 [So far Zephyr samples were using getopt implementation from: argtable3.c.] 19 is accomplished by the getopt function. 21 For this purpose I decided to port the getopt library available 28 to getopt function. In proposed implementation each shell backend has its 29 own getopt function state structure which it uses. 57 [BSD 3-Clause used in getopt: https://spdx.org/licenses/BSD-3-Clause.html]
|
D | CMakeLists.txt | 13 getopt.c
|
D | getopt.c | 42 LOG_MODULE_REGISTER(getopt); 78 int getopt(int nargc, char *const nargv[], const char *ostr) in getopt() function
|
D | getopt_common.c | 62 return &sh->ctx->getopt; in getopt_state_get()
|
D | getopt_long.c | 57 LOG_MODULE_DECLARE(getopt);
|
/Zephyr-Core-3.4.0/tests/posix/getopt/src/ |
D | main.c | 51 c = getopt(argc, argv, accepted_opt); in ZTEST() 59 c = getopt(argc, argv, accepted_opt); in ZTEST() 91 c = getopt(argc, argv, test_opts); in ZTEST() 93 c = getopt(argc, argv, test_opts); in ZTEST() 96 c = getopt(argc, argv, test_opts); in ZTEST()
|
/Zephyr-Core-3.4.0/tests/posix/headers/src/ |
D | unistd_h.c | 342 zassert_not_null(getopt); in ZTEST()
|
/Zephyr-Core-3.4.0/tests/posix/getopt/ |
D | CMakeLists.txt | 5 project(getopt) project
|
/Zephyr-Core-3.4.0/include/zephyr/posix/ |
D | unistd.h | 49 int getopt(int argc, char *const argv[], const char *optstring);
|
/Zephyr-Core-3.4.0/samples/subsys/shell/shell_module/src/ |
D | main.c | 119 while ((c = getopt(argc, argv, "abhc:")) != -1) { in cmd_demo_getopt_ts() 170 while ((c = getopt(argc, argv, "abhc:")) != -1) { in cmd_demo_getopt() 387 SHELL_CMD(getopt, NULL, "Cammand using getopt in non thread safe way"
|
/Zephyr-Core-3.4.0/lib/posix/ |
D | CMakeLists.txt | 37 add_subdirectory_ifdef(CONFIG_GETOPT getopt)
|
D | Kconfig | 4 source "lib/posix/getopt/Kconfig"
|
/Zephyr-Core-3.4.0/lib/os/ |
D | crc_shell.c | 79 while ((rv = getopt(argc, argv, "fhlp:rs:t:")) != -1) { in cmd_crc()
|
/Zephyr-Core-3.4.0/subsys/shell/ |
D | Kconfig | 140 bool "Threadsafe getopt support in shell" 144 It ensures that using getopt with shell is thread safe. 145 When more threads are using getopt please call getopt_state_get to 146 get getopt state of the shell thread.
|
/Zephyr-Core-3.4.0/doc/services/shell/ |
D | index.rst | 33 * Support for getopt and getopt_long. 528 is accomplished by the ``getopt`` family functions. 530 For this purpose shell supports the getopt and getopt_long libraries available 536 The former is full compatible with regular getopt usage while the latter 544 while ((char c = getopt(argc, argv, "abhc:")) != -1) { 560 while ((char c = getopt(argc, argv, "abhc:")) != -1) { 571 Thread safe getopt functionality is activated by
|
/Zephyr-Core-3.4.0/subsys/shell/modules/ |
D | devmem_service.c | 109 while ((rv = getopt(argc, argv, "a:s:w:")) != -1) { in cmd_dump()
|
/Zephyr-Core-3.4.0/include/zephyr/shell/ |
D | shell.h | 798 struct getopt_state getopt; member
|
/Zephyr-Core-3.4.0/ |
D | CODEOWNERS | 695 /lib/posix/getopt/ @jakub-uC
|
/Zephyr-Core-3.4.0/doc/releases/ |
D | release-notes-3.3.rst | 2432 * Enabled ``eventfd()``, ``getopt()`` by default with :kconfig:option:`CONFIG_POSIX_API`. 2685 - :github:`52700` - posix: getopt: implement standards-compliant reset 3173 * :github:`52749` - posix: getopt: cannot use getopt() in a standard way
|