[GPF Home Page]
NAME
M_io(3f) - [M_io::INTRO] Fortran I/O module (LICENSE:PD)
SYNOPSIS
      use M_io, only : notopen, print_inquire, read_table, filename_generator
      use M_io, only : dirname, splitpath, joinpath, get_tmp, scratch, uniq, basename
      use M_io, only : separator, getname, which, lookfor
      use M_io, only : read_line, getline, rd, get_next_char
      use M_io, only : fileopen, fileclose, filedelete, filewrite, fileread, filebyte
      use M_io, only : number_of_lines
      use M_io, only : get_env, is_hidden_file
      
DESCRIPTION
The M_io module is a collection of routines related to basic I/O (input/output) operations.
  • READING DATA SEQUENTIALLY
    • READ_LINE - read line as long as programming environment line length limit cleaning up input line
    • GETLINE - read line as long as programming environment line length limit
    • RD - ask for string from standard input with user-definable prompt
    • READ_TABLE - read a file into a numeric array
    • NUMBER_OF_LINES - number of lines in open sequential file
    • GET_NEXT_CHAR - read character byte by byte
  • SEQUENTIAL FILES
  • SCRATCH FILES
    • GET_TMP - get name for system scratch directory from environment variables
    • SCRATCH - get name of scratch file
    • UNIQ - add numeric suffix to filename if needed till filename does not exist
  • SPLITTING AND JOINING PATHNAMES
    • DIRNAME - return the directory portion of a pathname
    • BASENAME - return the leaf portion of a pathname
    • SPLITPATH - split Unix pathname into directory, name, basename and extension
    • JOINPATH - join pathnames
  • SYSTEM NAMES AND ATTRIBUTES
  • SEPARATOR - try to determine pathname directory separator
  • GETNAME - a pathname to the current executable
  • WHICH - return a pathname for a command name found with the environment variable
  • LOOKFOR - return a pathname for a file basename found with the directories in the
  • IS_HIDDEN_FILE - classify a pathname as a hidden file pathname or not
  • MISCELLANEOUS
AUTHOR
John S. Urban
LICENSE
Public Domain