[#BloombergLP-balcl-CommandLine-parse-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::parse :relfileprefix: ../../../ :mrdocs: Parse the command‐line arguments in `argv` of length `argc`. == Synopses Declared in `<balcl_commandline.h>` Parse the command‐line arguments in `argv` of length `argc`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/balcl/CommandLine/parse-0c.adoc[parse]( int argc, char const const* argv[]); ---- [.small]#xref:BloombergLP/balcl/CommandLine/parse-0c.adoc[_» more..._]# Parse the command‐line arguments in `argv` of length `argc`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/balcl/CommandLine/parse-00.adoc[parse]( int argc, char const const* argv[], std::ostream& errorStream); ---- [.small]#xref:BloombergLP/balcl/CommandLine/parse-00.adoc[_» more..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *argc* | length of the `argv` array | *argv* | array of command‐line argument strings | *errorStream* | stream to which parse errors are written |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#