hexdump: Allow ctrl-c to interrupt output
authorSimon Glass <sjg@chromium.org>
Sat, 8 May 2021 13:00:04 +0000 (07:00 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 8 Jun 2021 15:39:09 +0000 (11:39 -0400)
commit735dd6ef89ebd3e05c1dfaef06aca61046503c63
tree5c9bca4a0860d6d4ebfe1a242ec749129584df09
parent5d6d2b88389a99c9e20618593e64a9dd74862c8a
hexdump: Allow ctrl-c to interrupt output

If a long hexdump is initated the user may wish to interrupt it. Add
support for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/hexdump.h
lib/hexdump.c