getopt_long2

March 26, 2020 Contributors

Name

getopt_long2 — a thread safe, re-entrant, getopt_long

Synopsis

#include "getopt_long.h"

| int **getopt_long2** ( | state, |   |
|   | argc, |   |
|   | argv, |   |
|   | shortopts, |   |
|   | longopts, |   |
|   | longind); |   |

struct getopt_state * <var class="pdparam">state</var>;
int <var class="pdparam">argc</var>;
char *const * <var class="pdparam">argv</var>;
const char * <var class="pdparam">shortopts</var>;
const struct option * <var class="pdparam">longopts</var>;
int * <var class="pdparam">longind</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

a thread safe, re-entrant, getopt_long