window_wait_for_user_c (ul_windowlib)

	status.i4.v = window_wait_for_user_c(window_id.i2.v, wait_type.i4.v,
					     cursor_position.i4.v)

	This routine waits for a user to interrupt to close a window.

	window_id	window ID
	wait_type	return condition
			(WINDOW_ANY_INTERRUPT -> any user interrupt will
						 close the window,
			 WINDOW_OUTSIDE_INTERRUPT -> any user interrupt
						     outside of the window
						     will close the window)
	cursor_position	cursor positioning information
			(WMNGR_RESTORE_CURSOR -> the cursor will be restored
						 to its position at the time
						 the window was created,
			 WMNGR_LEAVE_CURSOR -> the cursor will be left in its
					       present position)

	This function returns ACNET status values as follows:

	CLIB_OK			success
	CLIB_INVARG		invalid wait type passed
	CLIB_NO_SUCH		requested window doesn't exist

	This function requires the following include files:

	ul_windowlib_h:windowlib_h, acnet_errors_h

	Related functions:

	window_intype, window_delete_c

	C/C++ usage:

	short	window_id;
	int	status;

	status = window_wait_for_user_c(window_id,WINDOW_ANY_INTERRUPT,
					WMNGR_LEAVE_CURSOR);