PetscBinaryOpen

Opens a PETSc binary file.

Synopsis

int PetscBinaryOpen(const char name[],int type,int *fd)
Not Collective

Input Parameters

name - filename
type - type of binary file, on of BINARY_RDONLY, BINARY_WRONLY, BINARY_CREATE

Output Parameter

fd -the file

Keywords

binary, output, write

See Also

PetscBinaryRead(), PetscBinaryWrite()

Level:advanced
Location:src/sys/src/fileio/sysio.c
System Index
Table of Contents