MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / getopt_init

Function getopt_init

libcppcryptfs/util/getopt.c:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45static wchar_t* optcursor = NULL;
46
47void getopt_init()
48{
49 /* need to intialize these getop variables before we process a command line */
50
51 optcursor = NULL;
52 optind = 1;
53}
54
55/* Implemented based on [1] and [2] for optional arguments.
56 optopt is handled FreeBSD-style, per [3].

Callers 2

do_self_argsFunction · 0.85
ProcessCommandLineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected