aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-03-20 19:18:10 +0000
committerMark Whitley <markw@lineo.com>2001-03-20 19:18:10 +0000
commit6f93277f56f97852d6e4e937ef758df0cce7b8ef (patch)
treebe1bc8a7504d208fea701fa4686d93bb6bd62576 /include
parentba372620c256b23340c5630098f1a81c10022386 (diff)
downloadbusybox-w32-6f93277f56f97852d6e4e937ef758df0cce7b8ef.tar.gz
busybox-w32-6f93277f56f97852d6e4e937ef758df0cce7b8ef.tar.bz2
busybox-w32-6f93277f56f97852d6e4e937ef758df0cce7b8ef.zip
Added adjtimex applet from Larry Doolittle.
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h13
2 files changed, 16 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 8c59507ce..2af2b49e7 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -46,6 +46,9 @@
46#ifdef BB_TEST 46#ifdef BB_TEST
47 APPLET_NOUSAGE("[", test_main, _BB_DIR_USR_BIN) 47 APPLET_NOUSAGE("[", test_main, _BB_DIR_USR_BIN)
48#endif 48#endif
49#ifdef BB_ADJTIMEX
50 APPLET(adjtimex, adjtimex_main, _BB_DIR_SBIN)
51#endif
49#ifdef BB_AR 52#ifdef BB_AR
50 APPLET(ar, ar_main, _BB_DIR_USR_BIN) 53 APPLET(ar, ar_main, _BB_DIR_USR_BIN)
51#endif 54#endif
diff --git a/include/usage.h b/include/usage.h
index dc3b49816..8ec0170e2 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1,3 +1,16 @@
1#define adjtimex_trivial_usage \
2 "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]"
3#define adjtimex_full_usage \
4 "Reads and optionally sets system timebase parameters.\n" \
5 "See adjtimex(2).\n\n" \
6 "Options:\n" \
7 "\t-q\t\tquiet mode - do not print\n" \
8 "\t-o offset\ttime offset, microseconds\n" \
9 "\t-f frequency\tfrequency adjust, integer kernel units (65536 is 1ppm)\n" \
10 "\t\t\t(positive values make the system clock run fast)\n" \
11 "\t-t tick\t\tmicroseconds per tick, usually 10000\n" \
12 "\t-p timeconstant\n"
13
1#define ar_trivial_usage \ 14#define ar_trivial_usage \
2 "-[ovR]{ptx} archive filenames" 15 "-[ovR]{ptx} archive filenames"
3#define ar_full_usage \ 16#define ar_full_usage \