search for: io_channel_write_byt

Displaying 1 result from an estimated 1 matches for "io_channel_write_byt".

Did you mean: io_channel_write_byte
2006 Jun 12
0
Some questions about function usage
...rintf is strange. *target_blks is the actul block number of the first block of target inode. But target_blks[1] and target_blks[2] always 0(zero). Why and how I get the correct an array of blocks? 2. I get a "Attempt to write block from filesystem resulted in short write" when I calling io_channel_write_byte( ). Why? My code: unsigned char write_buf[4096]; 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&q...