search for: ext2fs_get_block

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

Did you mean: ext2fs_get_blocks
2006 Jun 12
0
Some questions about function usage
Hello, Recently, I am coding a program about read and write control. And there are some questions confusing me. 1. In info libext2fs: Function: errcode_t ext2fs_get_blocks (ext2_filsys FS, ext2_ino_t INO, blk_t *BLOCKS) Returns an array of blocks corresponding to the direct, indirect, doubly indirect, and triply indirect blocks as stored in the inode structure. So I wrote some codes like following: blk_t target_blks[EXT_N_BLOCKS]; retval = ext2fs_get_blocks(fs, in...