Home
last modified time | relevance | path

Searched refs:short_opts (Results 1 – 1 of 1) sorted by relevance

/arch/sandbox/cpu/
A Dos.c523 static char *short_opts; variable
538 if (short_opts || long_opts) in os_parse_args()
545 short_opts = os_malloc(sizeof(*short_opts) * num_options * 2 + 1); in os_parse_args()
547 if (!short_opts || !long_opts) in os_parse_args()
565 short_opts[si++] = long_opts[i].val = sb_opt[i]->flag_short; in os_parse_args()
567 short_opts[si++] = ':'; in os_parse_args()
571 short_opts[si] = '\0'; in os_parse_args()
582 while ((c = getopt_long(argc, argv, short_opts, long_opts, NULL)) != -1) { in os_parse_args()

Completed in 6 milliseconds