console_number.i4.v = numcns()

	This routine will return the number of the console instance in
	which the calling program is running.  Note that this is not the
	same as the number of the CPU or node on which the program is
	running.  If the program is not running in a console instance
	environment, a value of zero is returned.

	This function returns status values as follows:

	0			not in a console environment
	otherwise		caller's console number

	This function requires the following include files:


	Related functions:

	myconsole, mynode, myinstance, litapc, clib_environment,

	C/C++ usage:

	int	console_number;

	console_number = numcns();