Go to the source code of this file.
|
module | cp_files |
| Utility routines to open and close files. Tracking of preconnections.
|
|
|
subroutine, public | cp_files::close_file (unit_number, file_status, keep_preconnection) |
| Close an open file given by its logical unit number. Optionally, keep the file and unit preconnected. More...
|
|
integer function, public | cp_files::get_unit_number (file_name) |
| Returns the first logical unit that is not preconnected. More...
|
|
subroutine, public | cp_files::init_preconnection_list () |
| Allocate and initialise the list of preconnected units. More...
|
|
subroutine, public | cp_files::open_file (file_name, file_status, file_form, file_action, file_position, file_pad, unit_number, debug, skip_get_unit_number, file_access) |
| Opens the requested file using a free unit number. More...
|
|
logical function, public | cp_files::file_exists (file_name) |
| Checks if file exists, considering also the file discovery mechanism. More...
|
|
character(len=default_path_length) function, public | cp_files::discover_file (file_name) |
| Checks various locations for a file name. More...
|
|
character(len=default_path_length) function, public | cp_files::get_data_dir () |
| Returns path of data directory if set, otherwise an empty string. More...
|
|