View source code
Display the source code in dmd/mars.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Function dmd.mars.getenv_setargv

Parses an environment variable containing command-line flags and append them to args.

void getenv_setargv (
  const(char)* envvalue,
  dmd.root.array.Array!(const(char)*)* args
);

This function is used to read the content of DFLAGS. Flags are separated based on spaces and tabs.

Parameters

NameDescription
envvalue The content of an environment variable
args Array to append the flags to, if any.

Authors

Walter Bright

License

Boost License 1.0