Iwrite_block

[ XITE Reference Manual | XITE home ]

Name

Iwrite_block - write a block to BIFF image file

Syntax

 #include <xite/biff.h>

 BiffStatus Iwrite_block( IMAGE i,
    unsigned char *blk, long blnr );

Description

Write one block of data (512 bytes) from data area blk to block number blnr in file connected to image i.

Restrictions

i must be connected to an open image and be in Ireadwrite or Iwrite state. blnr should be in 1..Inblocks(i)+1. blk must be at least 512 bytes long.

See also

Iread_block(5)

Return value

status

Author

Tor Lønnestad, BLAB, Ifi, UiO