MemCom Reference Manual > MemCom C API Manual Pages > Utility Functions > mcErrPrint

Name

mcErrPrint — Print MemCom error code

Synopsis

#include "stdio"
#include <memcom.h>

void mcErrPrint(FILE* out);

Description

mcErrPrint prints the current error status on the output file out. The function returns the current MemCom error status.

Parameters

out

Output file handle. If out is set to NULL, the error message is printed on stderr.