error_disp_uti

	status.i4.v = error_disp_uti(uti_id.i1a.r, message.i1a.r,
				     error_type.i4.v, error_code.i4.v
				     [,color.i4.v] [,priority.i4.v])

	This routine is used by UTI's only. It writes an error code and/or
	message to a log file.  A value of TRUE is returned if "error_code"
	is nonzero.  A previous call to error_init_uti is necessary. 

	uti_id		sender identifier string (ERR_UTILEN characters)
	message		null terminated message (ERR_MAXLEN character max)
	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 
	[color]		log entry color (default is RED if "error_code"
			indicates an error condition and CYAN otherwise)
			(constants are in 'cnsparam')
	[priority]	log entry priority value
			(default is ERR_DEFAULT_PRIORITY)

	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 logged
	ERR_NO_INIT		error_init_uti has not been called
				for this UTI
	ERR_NOT_ENABLED		logging is not enabled

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	error_init_uti, error_uti_logging_c, error_display(_c), intro_error

	C/C++ usage:

	static const char	uti_id[ERR_UTILEN+1] = "XXXLOG";
	static const char	message[] = "This is an error message.";
	int	status;
	int	error_type = ERR_ACNET;
	int	error_code = ACNET_PEND;
	int	color = RED;
	int	priority = ERR_DEFAULT_PRIORITY;

	status = error_disp_uti(uti_id,message,error_type,error_code,
				color,priority);