The Sleuth Kit  4.12.1
Functions
dcat_lib.c File Reference

Contains the library API functions used by the TSK blkcat command line tool. More...

#include "tsk_fs_i.h"
#include <ctype.h>

Functions

uint8_t tsk_fs_blkcat (TSK_FS_INFO *fs, TSK_FS_BLKCAT_FLAG_ENUM lclflags, TSK_DADDR_T addr, TSK_DADDR_T read_num_units)
 Read a specific number of blocks and print the contents to STDOUT. More...
 

Detailed Description

Contains the library API functions used by the TSK blkcat command line tool.

Function Documentation

uint8_t tsk_fs_blkcat ( TSK_FS_INFO fs,
TSK_FS_BLKCAT_FLAG_ENUM  lclflags,
TSK_DADDR_T  addr,
TSK_DADDR_T  read_num_units 
)

Read a specific number of blocks and print the contents to STDOUT.

Parameters
fsFile system to analyze
lclflagsflags
addrStarting block address to read from
read_num_unitsNumber of blocks to read
Returns
1 on error and 0 on success

References TSK_FS_INFO::block_size, TSK_FS_INFO::last_block, tsk_error_reset(), tsk_error_set_errno(), tsk_error_set_errstr(), tsk_fs_read_block(), and tsk_printf().


Copyright © 2007-2020 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.