aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-07-07 21:48:33 -0700
committerRob Landley <rob@landley.net>2016-07-08 00:03:57 -0500
commitd5088a059649daf34e729995bb3daa3eb64fa432 (patch)
tree792e43241ddd494ad12c44cd2b36f025579ea7b7 /lib
parent008fb6444d7d960a9c96236334ad3e71f218d54c (diff)
downloadtoybox-d5088a059649daf34e729995bb3daa3eb64fa432.tar.gz
dd improvements.
Support hex (requested by users). Support status=noxfer and status=none (requested by users). Fix status output. Clarify large numbers in --help output. Use O_TRUNC rather than ftruncate unless we're also seeking. New tests. Also partial cleanup (reuse of existing code, removal of non-GLOBALS globals, and merge dd_main and do_dd).
Diffstat (limited to 'lib')
-rw-r--r--lib/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index d1d7d04f..739548b8 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -293,6 +293,7 @@ struct mtab_list *xgetmountlist(char *path);
// signal
void generic_signal(int signal);
+void exit_signal(int signal);
void sigatexit(void *handler);
int sig_to_num(char *pidstr);
char *num_to_sig(int sig);