cdds_errors - query the number of print error messages

SYNOPSIS

#include "cdds.h"

int cdds_errors();

[ Description | Examples ]


DESCRIPTION

cdds_errors() returns the current number of errors as defined by the number of calls to cdds_prterr.

EXAMPLES

int ier;

ier = cdds_errors();
if (ier) {
   cdds_prtcon("%d error reported\n", ier);
}
    

SEE ALSO

cdds_openpr open a printout file
cdds_prtmsg print message
cdds_prtcon print message to console
cdds_prterr print error message
cdds_closepr close out & termination
    

AUTHOR

Jerry Ehlers, BP America (May 2003)