status.i4.v = fm_get_access(vun.i2.r [,write_access.i4.r]

	status.i4.v = fm_get_access_c(vun.i2.v [,write_access.i4.r]

	This routine will return the read/write access mode for the
	file referenced by the virtual unit ID "vun".

	vun		virtual unit number of file
	[write_access]	returned read/write access mode (default is NULL)
			(FMNGR_READ_ACCESS -> read only,
			 FMNGR_WRITE_ACCESS -> write access)
	[access_mode]	returned record access mode (default is NULL)
			(FMNGR_DIRECT -> direct (random by record number),
			 FMNGR_SEQUENTIAL -> sequential,
			 FMNGR_APPEND -> append (sequential),
			 FMNGR_KEYED -> keyed)

	This function returns ACNET status values as follows:

	OK			success
	CBS_NOTOPN		VUN is not in use

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

	fm_open(_c), fm_open_io(_c), fm_open_read(_c), fm_open_write(_c),

	C/C++ usage:

	short	vun;
	int	status;
	int	write_access;
	int	access_mode;

	status = fm_get_access_c(vun,&write_access,&access_mode);