diff options
author | Erik Andersen | 2000-04-04 18:49:18 +0000 |
---|---|---|
committer | Erik Andersen | 2000-04-04 18:49:18 +0000 |
commit | b99ca13261765f23a6c5785490ae101f9dbd4a16 (patch) | |
tree | c93fa608d5314d07aa746d56c14c9820f22e2648 | |
parent | 68a9ea4208d5661de225fec9be3ffff8b02b8d66 (diff) | |
download | busybox-b99ca13261765f23a6c5785490ae101f9dbd4a16.zip busybox-b99ca13261765f23a6c5785490ae101f9dbd4a16.tar.gz |
usleep contributed by Nicolas Pitre <nico@cam.org>
-Erik
-rw-r--r-- | Changelog | 1 | ||||
-rw-r--r-- | applets/busybox.c | 3 | ||||
-rw-r--r-- | busybox.c | 3 | ||||
-rw-r--r-- | busybox.def.h | 1 | ||||
-rw-r--r-- | internal.h | 1 |
5 files changed, 9 insertions, 0 deletions
@@ -16,6 +16,7 @@ and then adjusted a bit by me. * Added tr and dirname from John Lombardo <john@deltanet.com> * Added echo and test (from me). + * Added usleep contributed by Nicolas Pitre <nico@cam.org> * tar wouldn't create directory entries that don't end in '/', now it does (thanks to Avery Pennarun <apenwarr@worldvisions.ca>) * Several fixes from Pavel Roskin <pavel_roskin@geocities.com>: diff --git a/applets/busybox.c b/applets/busybox.c index 95fee63..c2477a5 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -311,6 +311,9 @@ static const struct Applet applets[] = { #ifdef BB_UPDATE {"update", update_main, _BB_DIR_SBIN}, #endif +#ifdef BB_USLEEP + {"usleep", usleep_main, _BB_DIR_BIN}, +#endif #ifdef BB_WC {"wc", wc_main, _BB_DIR_USR_BIN}, #endif @@ -311,6 +311,9 @@ static const struct Applet applets[] = { #ifdef BB_UPDATE {"update", update_main, _BB_DIR_SBIN}, #endif +#ifdef BB_USLEEP + {"usleep", usleep_main, _BB_DIR_BIN}, +#endif #ifdef BB_WC {"wc", wc_main, _BB_DIR_USR_BIN}, #endif diff --git a/busybox.def.h b/busybox.def.h index 7b6d4e4..dd59a28 100644 --- a/busybox.def.h +++ b/busybox.def.h @@ -92,6 +92,7 @@ #define BB_TRUE_FALSE #define BB_TTY #define BB_UPTIME +#define BB_USLEEP #define BB_WC #define BB_WHOAMI #define BB_UMOUNT @@ -157,6 +157,7 @@ extern int uname_main(int argc, char** argv); extern int uptime_main(int argc, char** argv); extern int uniq_main(int argc, char** argv); extern int update_main(int argc, char** argv); +extern int usleep_main(int argc, char** argv); extern int wc_main(int argc, char** argv); extern int whoami_main(int argc, char** argv); extern int yes_main(int argc, char** argv); |