# PetscViewerFormat

Access mode for a file.

### Synopsis

    typedef enum {FILE_MODE_READ, FILE_MODE_WRITE, FILE_MODE_APPEND, FILE_MODE_UPDATE, FILE_MODE_APPEND_UPDATE} PetscFileMode;

### See Also

PetscViewerASCIISetMode()

Level:beginner
Location: src/sys/src/viewer/../../../../include/petscviewer.h
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages