strncpx

	string.i1a.r = strncpx(dest_string.i1a.r, source_string.i1a.r,
			       num_chars.i4.v [,get_address.i4.v])

	This routine is similar to strncpy, except the string pointers can
	optionally be pointers to string descriptors.

	dest_string	destination string
	source_string	source string
	num_chars	maximum number of characters to copy
	[get_address]	argument(s) to treat as possible string descriptors,
			other argument is not changed
			(STR_ADDR_BOTH -> both arguments (default),
			 STR_ADDR_DEST -> treat "dest_string" as a possible
					  string descriptor,
			 STR_ADDR_SRC -> treat "source_string" as a possible
					 string descriptor)

	This function returns status values as follows:

	pointer to the destination string

	This function requires the following include files:

	cbslib_h

	Related functions:

	strncpy, string_addr

	C/C++ usage:

	char	dest_string[6];
	static const char	input_string[] = "String";
	char	*string;
	int	get_address = STR_ADDR_SRC;
	size_t	num_chars = 6;
	dsc_descriptor_s	source_string;

	source_string.dsc_w_length = strlen(input_string);
	source_string.dsc_b_dtype = DSC_K_DTYPE_T;
	source_string.dsc_b_class = DSC_K_CLASS_S;
	source_string.dsc_a_pointer = input_string;

	string = strncpx(dest_string,(char *) &source_string,num_chars,
			 get_address);