error_printf_c

	status.i4.v = error_printf_c(error_type.i4.v, error_code.i4.v,
				     format_string.i1a.r
				     [,value_1, value_2, ...])

	This routine displays an error code with a formatted message on a
	TV or graphics window.  The format string should be suitable for
	passing to clib_sprintf.  This routine will erase the error field
	if there's an old error being displayed and the new error code value
	indicates no error (if no scrolling).  This routine will return a
	value of ERR_ERROR if "error_code" is an error (depends on
	"error_type") or ERR_OVFLOW if the same error has been repeated for
	more than five times.  If the overflow condition occurs, the error
	will not be displayed.  If specified in the most recent call to
	error_init(_c), this routine will also write to an error log file.
	A previous call to error_init(_c) is necessary.

	error_type	type of error
			(ERR_NONE -> no error, just a message,
			 ERR_ACNET -> "error_code" is an ACNET error,
			 ERR_INT -> "error_code" is a simple integer value,
			 ERR_SYS -> "error_code" is a VMS error code,
			 ERR_RTL -> "error_code" is a C RTL (errno) error code,
			 ERR_DEVNAM -> "error_code" is an ACNET device index,
			 otherwise -> "error_type" is interpreted as an ACNET
				      device index and "error_code" is treated
				      as an ACNET error)
	error_code	error code to display
	format_string	null terminated string which contains the
			characters to be written literally or converted
			as specified by the optional value arguments
	[value_1...]	optional values which correspond to conversion
			expressions in the format string

	This function returns status values as follows:

	ERR_OK			"error_code" is not an error
	ERR_ERROR		"error_code" is an error  (This is
				nonzero for integer or ACNET "error_type"
				and any value but 1 for VMS "error_type".)
	ERR_OVFLOW		"error_code" is an error, but error
				clipping is on and this device/error
				combination has already occurred too
				many times to be displayed
	ERR_NO_INIT		error_init(_c) has not been called

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	error_display(_c), error_mprintf_c, error_message(_c),
	error_cmprintf_c, error_colored_message_c, error_init(_c),
	error_imbedded_enabled, error_imbedded_on, error_imbedded_off,
	error_erase, error_close, error_last, error_clip_depth_c,
	error_query_clipping, error_trace_on, error_trace_off,
	error_trace_get, error_trace_view_c, error_size_and_position_c,
	clib_vsprintf, error_is_occluded, error_window_is_present, intro_error

	C/C++ usage:

	static const char	format_string[] = "This is a formatted error message for %F.";
	int	status;
	int	error_type = ERR_ACNET;
	int	error_code = ACNET_PEND;

	status = error_printf_c(error_type,error_code,format_string,
				CNV_DEVICE,27235);