diag-trace 4.2.1
The µOS++ Tracing Infrastructure
Loading...
Searching...
No Matches

Functions

void micro_os_plus::trace::dump_args (int argc, char *argv[], const char *name="main")
 Send the argv[] array to the trace output channel.
 

Detailed Description

These are supplementary functions designed to enhance tracing capabilities.

Function Documentation

◆ dump_args()

void micro_os_plus::trace::dump_args ( int argc,
char * argv[],
const char * name = "main" )

Send the argv[] array to the trace output channel.

Parameters
[in]argcThe number of argv[] strings.
[in]argvAn array of pointer to arguments.
[in]nameA null terminate string, default "main".

Generally it should match the prototype of main(), to simplify forwarding the parameters.

Definition at line 146 of file trace.cpp.