Products Support Documentation Download
Macros | Functions
print_error.h File Reference

Standard Error Print Routine for C POPCORN Examples. More...

#include "rdmretcodetypes.h"

Go to the source code of this file.

Macros

#define print_error(rc)   print_errorEx (rc, __FILE__, __LINE__)
 Standard error print macro.
 

Functions

void print_errorEx (RDM_RETCODE rc, const char *file, int line)
 Standard error print format for popcorn examples. More...
 

Detailed Description

Standard Error Print Routine for C POPCORN Examples.

Function Documentation

◆ print_errorEx()

void print_errorEx ( RDM_RETCODE  rc,
const char *  file,
int  line 
)

Standard error print format for popcorn examples.

This demonstrates the usage of the rdm_retcodeGetName() and rdm_retcodeGetDescription() functions.

Parameters
[in]rcRDM_RETCODE to analyze
[in]fileSourcec filename
[in]lineLineno in source file