status.i4.v = str_quote_string_c(quoted_string.i1a.r,
					 string.i1a.r, length.i4.v,

	This routine quotes a string.  The quoted string can be the
	same buffer as the original string.  If the string is already
	quoted, additional quotes will not be provided.

	quoted_string	returned quoted string (This can point to the
			same buffer as the original string.)
	quoted_length	space available in the output buffer (If a value
			of zero is passed, no length check will be made.)
	string		original string
	length		length of original string (If a value of zero is
			passed, the length of the string will be calculated.)
	quote_char	quote character to use (If a value of zero is passed
			for this argument, the routine will pick the most
			appropriate quote character to use based upon the
			presence of quote characters in the original string.)

	This function returns ACNET status values as follows:

	OK			success
	CLIB_TOO_SMALL		output buffer is too small
	CLIB_INVARG		invalid quote character

	This function requires the following include files:

	cnsparam_h, cbslib_h

	Related functions:

	str_is_quoted_c, str_find_quote_c, str_strip_quotes_c,
	str_is_alphabetic_c, str_is_alphanumeric_c, str_is_lower_case_c,
	str_is_upper_case_c, str_is_numeric_c, str_is_float_string_c,
	str_is_hex_c, str_is_printable_c, str_is_blank_c, str_is_white_space_c,
	str_num_nonblank_c, str_compare_nocase, str_compare_n_nocase_c,
	strncmp, strcmp, strncmx, str_find_first_c, str_get_first_c

	C/C++ usage:

	char	quoted_string[32];
	static const char	string[] = "This string needs quotes.";
	char	quote_char = 0;
	int	status;
	int	quoted_length = sizeof(quoted_string) - 1;
	int	length = 0;

	status = str_strip_quotes_c(string,length);