fm_close_by_name

	status.i4.v = fm_close_by_name(file_name.i1a.r [,ext_status.i4.r]
				       [,write_access.i4.v]
				       [,access_mode.i4.v])

	This routine will close a Filesharing file given its name.
	(Note: Files are closed automatically on program termination.)

	file_name	Filesharing file name excluding the prefix
			of "rsx$fshare_applicat_" (must be null terminated)
	[ext_status]	returned extended status from VMS/RMS (default is NULL)
	[write_access]	read/write access of the desired file
			(FMNGR_READ_ACCESS -> read access only,
			 FMNGR_WRITE_ACCESS -> write access,
			 FMNGR_DEFAULT_ARG -> don't care (default))
	[access_mode]	record access of the desired file
			(DIRECT -> direct (random by record number),
			 SEQUENTIAL -> sequential,
			 APPEND -> append (sequential),
			 KEYED -> keyed,
			 FMNGR_DEFAULT_ARG -> don't care (default))

	This function returns ACNET status values as follows:

	OK			success
	FSHARE_xxx		error closing file
	CBS_NOTOPN		file is not open
	CBS_DUPREQ		file has been opened more than once and
				close request is not specific enough

	This function requires the following include files:

	cnsparam_h, cbslib_h, acnet_errors_h

	Related functions:

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

	C/C++ usage:

	static const char	file_name[] = "controls_misc:my_file.dat";
	int	status;
	int	ext_status;
	int	write_access = FMNGR_DEFAULT_ARG;
	int	access_mode = FMNGR_DEFAULT_ARG;

	status = fm_close_by_name(file_name,&ext_status,write_access,
				  access_mode);