...
The following example show an App_OutputFnct() function example. This function receives a pointer to a string and simply prints the string. It is used by the IPerf_Reporter() function to output the formatted data.
Code Block | ||
---|---|---|
| ||
void App_OutputFnct (CPU_CHAR *p_buf, IPERF_OUT_PARAM *p_param) { if (p_buf == (CPU_CHAR *)0) { return; } printf(p_buf); } |