cdds_prtcon - write a message to the console

SYNOPSIS

#include "cdds.h"

int cdds_prtcon(fmt, ...);

const char *fmt

[ Description | Examples ]


DESCRIPTION

cdds_prtcon() writes a message to the console with the program name attached to it. If the print file has been opened, the message will also be written to the print file. The message is constructed from a format string, fmt, and option arguments (see cdds_printf). The return value is always 0.

EXAMPLES

cdds_prtcon("%d%% complete\n", pct);
    

SEE ALSO

cdds_openpr open a printout file
cdds_prtmsg print message
cdds_prterr print error message
cdds_errors check for print errors
cdds_closepr close out & termination
    

AUTHOR

Jerry Ehlers, BP America (May 2003)