next up previous contents
Next: zio_uf_read_double Up: Module zio_binary (Source File: Previous: zio_uf_close

zio_uf_open

INTERFACE:

         integer function zio_uf_open(filedesc,iocomm,unit,file,         &
      &                               status,access,recl,position,action)
DESCRIPTION:

Open a file for reading and/or writing

REVISION HISTORY:

       2003-Jan-31 -- first prototype
       2003-Aug-16 -- support single task mode: ZIO_SPMD undefined
USES:
         implicit none
OUTPUT PARAMETERS:
         integer, intent(out):: filedesc             ! file desc index
INPUT PARAMETERS:
         integer, intent(in):: iocomm                ! I/O communicator ID;
                                                     ! ignored for non-SPMD
         integer, intent(in):: unit                        ! file unit number
         character(len=*), intent(in):: file               ! file name
         character(len=*), optional, intent(in):: status   ! old, new, replace,
                                                      ! scratch, or unknown
         character(len=*), intent(in):: access             ! direct or sequential
         integer, optional, intent(in):: recl              ! record length
         character(len=*), optional, intent(in):: position ! asis, rewind or
                                                           ! append
         character(len=*), optional, intent(in):: action   ! read, write or
                                                           ! readwrite

\



Yun (Helen) He
Tue Dec 9 16:16:02 PST 2003