Displaying 1 result from an estimated 1 matches for "io_channel_write_blk".
2006 Jun 12
0
Some questions about function usage
...096];
retval = io_channel_write_byte(fs->io, 100581, -4096, write_buf);
if (retval) {
com_err (program_name, retval, "while callng io_channel_write_byte");
printf ("Failure: Calling function io_channel_write_byte.\n");
exit (1);
}
3.
I can using io_channel_write_blk to write data in the desired block.
But the changed content of block must readed by io_channel_read_blk( ).
(for example: 'a' is overwrite by 'b', and the editor still read 'a', but
io_channel_read_blk read 'b);
But I do have call io_channel_flush(fs->io) before ext2f...