aboutsummaryrefslogtreecommitdiff
path: root/toys/other/chroot.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-12-24 00:42:38 -0800
committerRob Landley <rob@landley.net>2017-12-26 22:28:10 -0600
commit215a6af5f83e7866751f24fc61f709b444e61c1d (patch)
treec1365d13267256e6fc1877ab3f238b6f5ac0ea32 /toys/other/chroot.c
parent70a6c55499eabf1229dfb0b49f08b366cbaa7896 (diff)
downloadtoybox-215a6af5f83e7866751f24fc61f709b444e61c1d.tar.gz
Add xxd -i (and xxd -ri).
The original xxd doesn't support -r with -i. The original also outputs "unsigned char name[] = { ... };" for input other than stdin, but that actually makes it less useful --- many languages support array initializers, but far fewer support that exact declaration syntax. Also fix the -c range checking and defaulting: ><= in the argument string only works for floating point arguments. Bug: http://b/64711851
Diffstat (limited to 'toys/other/chroot.c')
0 files changed, 0 insertions, 0 deletions