Iopen_image
[ XITE Reference Manual | XITE home ]
Name
Iopen_image - open a BIFF-file
Syntax
#include <xite/biff.h>
BiffStatus Iopen_image( IMAGE* i,
char* filename, int acc );
Description
Open the file filename with acc access,
connect it to image i. acc is one of: Ireadonly,
Ireadwrite, Iwrite. If filename is empty, stdin is
used for readonly access, stdout is used for write
access. If filename is "-channel", and channel is
the number of an open input or output channel, this
channel is used. "~" in filename will be expanded.
Restrictions
When Iwrite: Info must be initiated properly, the file
should not exist when overwrite is FALSE.
When readonly or readwrite: The file should exist,
it should follow BIFF format, and should allow that
access mode.
See also
Iclose_image(5), Iread_image(5), Iwrite_image(5)
Return value
status
Author
Tor Lønnestad, BLAB, Ifi, UiO