get_setpriv

	lock_priv.i4.v = get_setpriv([check_only.i4.v])

	This routine returns the current setting lock state.

	[check_only]	setting lock request intent
			(TRUE -> checking setting lock state only,
			 FALSE -> checking setting lock with intent to
				  make a setting (default))  (This option
				  will raise the utility window if settings
				  are disabled.)

	This function returns status values as follows:

	non FALSE		settings are allowed
				(non FALSE values other than TRUE(1)
				 can be returned)
	FALSE			settings are not allowed

	This function requires the following include files:

	cnsparam_h, clib_h

	Related functions:

	class_get_sets, dio_can_set_device_c, user_console_class_mask

	C/C++ usage:

	int	lock_priv;
	int	check_only = FALSE;

	lock_priv = get_setpriv(check_only);