dio_memory_select_pool_c

	status.i4.v = dio_memory_select_pool_c(pool_spec.g.v, type.i4.v)

	This routine selects which memory pool to use with subsequent
	calls to dio_memory_xxx routines.  If the requested pool does
	not exist and "pool_spec" is a string, a new pool will be created.

	pool_spec	string or integer ID to identify a unique memory pool
			(The default "pool_spec" (the one used if
			 'dio_memory_select_pool_c' is never called) is
			 "default" which is populated from the data pool.)
	type		type of pool specifier
			(DIO_BY_NAME -> "pool_spec" is a null terminated
					string (up to DIO_MEMORY_POOL_NAME_LEN
					characters),
			 DIO_BY_ID -> "pool_spec" is an integer ID)

	This function returns ACNET status values as follows:

	DIO_BADARG		invalid type specified
	DIO_MEMFAIL		memory allocation error
	DIO_NO_SUCH		requested pool does not exist
	otherwise		last pool ID selected

	This function requires the following include files:

	diolib_h, acnet_errors_h

	Related functions:

	dio_memory_set_populate_c, dio_memory_pool_name_to_id_c,
	dio_memory_get_raw_c, dio_memory_get_c, dio_memory_get_array_c,
	dio_memory_set_raw_c, dio_memory_set_c, dio_memory_set_array_c,
	dio_memory_control_c, dio_memory_cancel_c, dio_memory_populate_c,
	dio_memory_populate_query

	C/C++ usage:

	static const char	pool_spec[] = "default";
	int	status;
	int	type = DIO_BY_NAME;

	status = dio_memory_select_pool_c((void *) pool_spec,type);