The mdsio package contains a group of Fortran routines intended as a general interface for reading and writing direct-access (``binary'') Fortran files. The mdsio routines are used by the rw package.