Iread_block
[ XITE Reference Manual | XITE home ]
Name
Iread_block - read a block from a BIFF image file
Syntax
#include <xite/biff.h>
BiffStatus Iread_block( IMAGE i,
unsigned char *blk, long blnr );
Description
Read one block of data (512 bytes) from block field
number blnr in the file connected to image i, to
data area blk.
Restrictions
i must be connected to an open image and be in
Ireadonly or Ireadwrite state. blnr should be in
1..Inblocks(i). blk must be at least 512 bytes long.
See also
Iwrite_block(5)
Return value
status
Author
Tor Lønnestad, BLAB, Ifi, UiO