xxd: implement -o DISPLAYOFFSET
function old new delta xxd_main 680 710 +30 xstrtoll - 30 +30 bb_dump_dump 1511 1531 +20 rewrite 941 951 +10 packed_usage 33629 33639 +10 .rodata 103250 103252 +2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/0 up/down: 102/0) Total: 102 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -32,8 +32,9 @@ typedef struct dumper_t {
|
||||
off_t dump_skip; /* bytes to skip */
|
||||
int dump_length; /* max bytes to read */
|
||||
smallint dump_vflag; /*enum dump_vflag_t*/
|
||||
const char *eofstring;
|
||||
FS *fshead;
|
||||
const char *xxd_eofstring;
|
||||
long long xxd_displayoff;
|
||||
} dumper_t;
|
||||
|
||||
dumper_t* alloc_dumper(void) FAST_FUNC;
|
||||
|
||||
Reference in New Issue
Block a user