ViewerBinarySetType

Sets the type of binary file to be open

Synopsis

int ViewerBinarySetType(Viewer viewer,ViewerBinaryType type)
Collective on Viewer

Input Parameters

viewer - the viewer; must be a binary viewer
type - type of file
   BINARY_CREATE - create new file for binary output
   BINARY_RDONLY - open existing file for binary input
   BINARY_WRONLY - open existing file for binary output

See Also

ViewerCreate(), ViewerSetType(), ViewerBinaryOpen()

Level:advanced
Location:src/sys/src/viewer/impls/binary/binv.c
Viewer Index
Table of Contents