diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /miscutils/timeout.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'miscutils/timeout.c')
-rw-r--r-- | miscutils/timeout.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/miscutils/timeout.c b/miscutils/timeout.c index 841669416..9d56593ba 100644 --- a/miscutils/timeout.c +++ b/miscutils/timeout.c | |||
@@ -28,6 +28,12 @@ | |||
28 | * rewrite 14-11-2008 vda | 28 | * rewrite 14-11-2008 vda |
29 | */ | 29 | */ |
30 | 30 | ||
31 | //usage:#define timeout_trivial_usage | ||
32 | //usage: "[-t SECS] [-s SIG] PROG ARGS" | ||
33 | //usage:#define timeout_full_usage "\n\n" | ||
34 | //usage: "Runs PROG. Sends SIG to it if it is not gone in SECS seconds.\n" | ||
35 | //usage: "Defaults: SECS: 10, SIG: TERM." | ||
36 | |||
31 | #include "libbb.h" | 37 | #include "libbb.h" |
32 | 38 | ||
33 | int timeout_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 39 | int timeout_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |