PetscBinaryOpen

Opens a PETSc binary file.

Synopsis

int PetscBinaryOpen(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()

Location: src/sys/src/fileiosysio.c
System Index
Table of Contents